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. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19342 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
Showing
Please register or sign in to comment