« Previous | Next » 

Revision 643fd8a1

ID643fd8a198ddb67225f5edd503f8f151d13635a3
Parent b27bf2a7
Child 1496b04c

Added by Reimar Döffinger almost 12 years ago

Add a got_picture flag to MJpegDecodeContext which indicates if its picture
element is valid. Skip the code handling SOS and EOI if not, since it can not
work without a valid AVPicture.
This fixes a crash with mjpeg/smclockmjpeg.avi.1.0 from issue 1240 where the
decoder returned an invalid AVPicture.

Originally committed as revision 19342 to svn://svn.ffmpeg.org/ffmpeg/trunk

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences