Re: [libav-devel] [PATCH 04/15] mpegvideo: align width to 32 for scratch buffer sizes

2012-12-12 Thread Ronald S. Bultje
Hi, On Wed, Dec 12, 2012 at 3:12 PM, Janne Grunau wrote: > On 2012-12-12 14:30:43 -0800, Ronald S. Bultje wrote: >> Hi, >> >> On Wed, Dec 12, 2012 at 12:30 PM, Janne Grunau >> wrote: >> > cmdutis.c's alloc_buffer() uses aligned to 32 width plus 2 edges of 32 >> > pixels as linesize. emu_edge_bu

Re: [libav-devel] [PATCH 04/15] mpegvideo: align width to 32 for scratch buffer sizes

2012-12-12 Thread Janne Grunau
On 2012-12-12 14:30:43 -0800, Ronald S. Bultje wrote: > Hi, > > On Wed, Dec 12, 2012 at 12:30 PM, Janne Grunau wrote: > > cmdutis.c's alloc_buffer() uses aligned to 32 width plus 2 edges of 32 > > pixels as linesize. emu_edge_buffer has to work with the same stride. > > This makes only a differen

Re: [libav-devel] [PATCH 04/15] mpegvideo: align width to 32 for scratch buffer sizes

2012-12-12 Thread Ronald S. Bultje
Hi, On Wed, Dec 12, 2012 at 12:30 PM, Janne Grunau wrote: > cmdutis.c's alloc_buffer() uses aligned to 32 width plus 2 edges of 32 > pixels as linesize. emu_edge_buffer has to work with the same stride. > This makes only a difference for > 8 bit per pixel bit depths since we > always allocate for

[libav-devel] [PATCH 04/15] mpegvideo: align width to 32 for scratch buffer sizes

2012-12-12 Thread Janne Grunau
cmdutis.c's alloc_buffer() uses aligned to 32 width plus 2 edges of 32 pixels as linesize. emu_edge_buffer has to work with the same stride. This makes only a difference for > 8 bit per pixel bit depths since we always allocate for 16 bit per pixel. Fixes fuzzed sample nasa-8s2.ts_s244342. --- li