You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
mjpegdec: dont set got_picture to 0 per frame.
Fixes Ticket1915 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user