Re: [libav-devel] [PATCH] yuv2rgb: handle line widths that are not a multiple of 4.

2012-08-28 Thread Luca Barbato
On 8/28/12 2:33 AM, Ronald S. Bultje wrote: From: "Ronald S. Bultje" 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.

[libav-devel] [PATCH] yuv2rgb: handle line widths that are not a multiple of 4.

2012-08-27 Thread Ronald S. Bultje
From: "Ronald S. Bultje" 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 | 64