[Ffmpeg-devel] Snow segfault bug in revision 1.43

Guillaume Poirier poirierg
Mon Apr 11 22:15:15 CEST 2005


On Apr 11, 2005 10:10 PM, Guillaume Poirier <poirierg at gmail.com> wrote:
> Hi,
> 
> On Apr 11, 2005 5:52 AM, Yartrebo <yartrebo at earthlink.net> wrote:
> > On Sun, 2005-04-10 at 22:13 -0400, Yartrebo wrote:
> > > When encoding or decoding 400x300 video, snow revisions 1.43 and onwards
> > > cause a segmentation fault in predict_slice.
> > >
> > > Robert
> > >
> > Bug found, patch attached.
> > Turns out that for heights that are not a multiple of the block height
> > (16), predict_slice writes past the end of the buffer. I've fixed it.
> 
> Tested on AMD-64, no problem.

(I forgot to say that the decodes are binary-equal, tested with md5sum
on both i386 and AMD-64 with GCC-3.4)

Regards,
Guillaume





More information about the ffmpeg-devel mailing list