OSDN Git Service

avcodec_align_dimensions2: set only 4 linesizes, not AV_NUM_DATA_POINTERS.
authorAnton Khirnov <anton@khirnov.net>
Sat, 28 Jan 2012 07:46:22 +0000 (08:46 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 28 Jan 2012 18:44:55 +0000 (19:44 +0100)
commit2d9535ad317733c977a89194975f14e0cc04fb7f
tree3deda3c8c6ab754c3a38eb9728bc66a62a1d6227
parentbe822d77b6f8363df0a49c568662187d655711e2
avcodec_align_dimensions2: set only 4 linesizes, not AV_NUM_DATA_POINTERS.

This function is video-only, so there's no point in setting more
linesizes.

Fixes stack corruption in avplay.
libavcodec/utils.c