avcodec/utils: Align YUV411 by as much as the other YUV variants
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 7 Mar 2015 13:30:34 +0000 (14:30 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 14 Mar 2015 13:27:23 +0000 (14:27 +0100)
commit2e5579bbb4f84fbaecfba57166506801603303e2
treed417bb586d84526e151f314bf77dc35ddca6a5b0
parent2cde388aeabcbeb69fd899c4171729ddd824be7f
avcodec/utils: Align YUV411 by as much as the other YUV variants

Fixes out of array accesses
Fixes: ffmpeg_mjpeg_crash2.avi

Found-by: Thomas Lindroth <thomas.lindroth@gmail.com>
Tested-by: Thomas Lindroth <thomas.lindroth@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e3201c38d53d2b8b24d0bc95d726b2cb1752dc12)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c