[Ffmpeg-devel] [PATCH] fix for gray16le segfault in imgconvert

Ivo ivop
Sat Apr 7 19:15:38 CEST 2007


On Saturday 07 April 2007 18:58, Michael Niedermayer wrote:
> On Sat, Apr 07, 2007 at 06:47:17PM +0200, Ivo wrote:
> >  static void gray16le_to_gray(AVPicture *dst, const AVPicture *src,
> >                                int width, int height)
> >  {
> > -    gray16_to_gray(dst, src + 1, width, height);
> > +    AVPicture *tmpsrc = (AVPicture *) src;
> > +    tmpsrc->data[0]++;
>
> no

Third try.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gray16lefix.patch
Type: text/x-diff
Size: 599 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070407/3adc4b88/attachment.patch>



More information about the ffmpeg-devel mailing list