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, 21 Mar 2015 00:52:52 +0000 (01:52 +0100)
commit21533730fc9b8d39d1cc3d79254264723c7224a4
tree6d713fb29e653fcb8c045ceb5df0122008c6a181
parent032476f8309bdbed00b2a4da03eb5b64ec5877c2
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