Commit 1dee467d authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'feaaf5f7'

* commit 'feaaf5f7':
  nuv: Reset the frame on resize

Conflicts:
	libavcodec/nuv.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 86fe16a7 feaaf5f7
......@@ -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,
......
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