aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegtsenc.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-07-04 18:20:35 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-07-04 18:20:35 +0000
commit643fd8a198ddb67225f5edd503f8f151d13635a3 (patch)
treed9e9cae67913c6c562d581673fe6b5ec235af9b1 /libavformat/mpegtsenc.c
parentb27bf2a7b4fd57c36eccb11f5af794d4b940cfdc (diff)
downloadffmpeg-643fd8a198ddb67225f5edd503f8f151d13635a3.tar.gz
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
Diffstat (limited to 'libavformat/mpegtsenc.c')
0 files changed, 0 insertions, 0 deletions