Commit 2cfa6fd0 authored by Michael Niedermayer's avatar Michael Niedermayer

mjpegdec: dont set got_picture to 0 per frame.

Fixes Ticket1915
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 541efe41
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment