OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
075dbc1
)
nuv: Reset the frame on resize
author
Luca Barbato
<lu_zero@gentoo.org>
Tue, 13 Aug 2013 04:01:48 +0000
(06:01 +0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Tue, 13 Aug 2013 11:09:33 +0000
(13:09 +0200)
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/nuv.c
patch
|
blob
|
history
diff --git
a/libavcodec/nuv.c
b/libavcodec/nuv.c
index
0905411
..
086e57c
100644
(file)
--- a/
libavcodec/nuv.c
+++ b/
libavcodec/nuv.c
@@
-134,6
+134,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);
} else if (quality != c->quality)
ff_rtjpeg_decode_init(&c->rtj, &c->dsp, c->width, c->height,
c->lq, c->cq);