mjpegdec: dont set got_picture to 0 per frame.
Fixes Ticket1915 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
541efe4120
commit
2cfa6fd025
1 changed files with 0 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue