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

Ivo ivop
Sat Apr 7 18:26:32 CEST 2007


See subject. This bug probably went unnoticed because there is no decoder 
that produces gray16le, but as I am changing pnm.c to work in machine order 
for 16-bit pix_fmt's and I am on a LE machine, I ran into this. swscale 
works fine btw.

As for the patch, I wasn't sure if I am supposed to use a temporary 
AVPicture * en dereference that or remove the const qualifier from the 
variable list?

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

More information about the ffmpeg-devel mailing list