diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-27 20:15:32 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-27 20:16:49 +0100 |
commit | 2cfa6fd025f730d91f5904951dd4dbee5899c32a (patch) | |
tree | 07a1baefe05b6db0b8ce18506a4d586e478a13f8 /libavcodec/mjpegdec.c | |
parent | 541efe4120bdf98e11fad145f4918a62266a400b (diff) | |
download | ffmpeg-streaming-2cfa6fd025f730d91f5904951dd4dbee5899c32a.zip ffmpeg-streaming-2cfa6fd025f730d91f5904951dd4dbee5899c32a.tar.gz |
mjpegdec: dont set got_picture to 0 per frame.
Fixes Ticket1915
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mjpegdec.c')
-rw-r--r-- | libavcodec/mjpegdec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 097bb1a..8b4d5f7 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -1603,7 +1603,6 @@ int ff_mjpeg_decode_frame(AVCodecContext *avctx, void *data, int *data_size, int ret = 0; AVFrame *picture = data; - s->got_picture = 0; // picture from previous image can not be reused buf_ptr = buf; buf_end = buf + buf_size; while (buf_ptr < buf_end) { |