avcodec/mpegvideo: check that linesize is not too small
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 13 Jun 2014 15:12:00 +0000 (17:12 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 13 Jun 2014 16:40:21 +0000 (18:40 +0200)
commitdffb85a98271826f6b38835b3c38399704bca3c0
tree641098a0129a5dc0def19f1e5f1daad673eb348d
parent4a0ec85b85090c5ed7af232007d3e11308c926dc
avcodec/mpegvideo: check that linesize is not too small

Note linesize is rounded up to at least a multiple of 8

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