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>
Thu, 12 Mar 2015 17:03:50 +0000 (18:03 +0100)
commit7f99fae1ec2903366ecc529d84d2542daa5f3c57
tree3fc3c6af8bc48c34af7330c508ae5c1b3eac0cd2
parent6739df26a62049ae579fa2a31c2552315eb640da
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)

Conflicts:

libavcodec/utils.c
libavcodec/utils.c