[FFmpeg-devel] [PATCH] Fix mjpegdec possible crash
Thu Nov 25 16:22:37 CET 2010
In some cases with broken mjpeg/mxpeg streams there is a problem with
allocation of MJpegDecodeContext field named "blocks".
It is possible when encoded stream is non-progressive but SOF2 header
marker is available in it. Thus if SOF2 header is not successfully
decoded then s->blocks is not allocated but s->progressive is set to 1.
So it is a reason to crash in decode_dc_progressive.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 624 bytes
Desc: not available
More information about the ffmpeg-devel