mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-08 19:00:07 +00:00
Merge commit 'feaaf5f7f0'
* commit 'feaaf5f7f0':
nuv: Reset the frame on resize
Conflicts:
libavcodec/nuv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
1dee467d26
1 changed files with 1 additions and 0 deletions
|
|
@ -138,6 +138,7 @@ static int codec_reinit(AVCodecContext *avctx, int width, int height,
|
|||
}
|
||||
ff_rtjpeg_decode_init(&c->rtj, &c->dsp, c->width, c->height,
|
||||
c->lq, c->cq);
|
||||
av_frame_unref(&c->pic);
|
||||
return 1;
|
||||
} else if (quality != c->quality)
|
||||
ff_rtjpeg_decode_init(&c->rtj, &c->dsp, c->width, c->height,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue