yuv2rgb: handle line widths that are not a multiple of 4.
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 28 Aug 2012 00:32:50 +0000 (17:32 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 28 Aug 2012 21:58:52 +0000 (14:58 -0700)
commitb64a72e1b2a9250d372add69d4f0f7efc92b16a8
tree169899f6cdb8b603b12d41eb90521e9adba0b4a8
parent09d5e02ab0448acedc3d516595eebd408eebf679
yuv2rgb: handle line widths that are not a multiple of 4.

This introduces support for width%4==2 in addition to width%4==0. For
odd widths, some more checks are needed, since the current code always
handles two luma items in a row, thus there is a possibility of an
overread by one.
libswscale/yuv2rgb.c