Mercurial > libavcodec.hg
comparison vaapi_vc1.c @ 9913:b73796e93571 libavcodec
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.
author | reimar |
---|---|
date | Sat, 04 Jul 2009 18:20:35 +0000 |
parents | 41b37c9c4ff7 |
children | 94107f128f64 |
comparison
equal
deleted
inserted
replaced
9912:9502108caadf | 9913:b73796e93571 |
---|