Do not attempt to use the unscaled yuv2rgb converter when height is odd because
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 25 Oct 2008 15:00:28 +0000 (15:00 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 25 Oct 2008 15:00:28 +0000 (15:00 +0000)
commit9b0d44ef678a1c1997213e3eb5cc68a11d4b3960
treea204a28872d77ceb03054a449b696f9aabc7b5c1
parentc87348a9223eb0e619fcf6b476fe79ea3ceeb495
Do not attempt to use the unscaled yuv2rgb converter when height is odd because
it will overflow the buffer by 1 line. This might have been exploitable.

Originally committed as revision 27826 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale.c