projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3232f3
)
wmapro: unref skipped frames
author
Janne Grunau
<janne-libav@jannau.net>
Sun, 10 Mar 2013 21:13:03 +0000
(22:13 +0100)
committer
Janne Grunau
<janne-libav@jannau.net>
Sun, 10 Mar 2013 21:34:43 +0000
(22:34 +0100)
libavcodec/wmaprodec.c
patch
|
blob
|
history
diff --git
a/libavcodec/wmaprodec.c
b/libavcodec/wmaprodec.c
index 56bb83ce2722e01579103c5f2dbd8819b2909dcc..7d5ac037bf9dbe0fa147e2f658a692028fbabddc 100644
(file)
--- a/
libavcodec/wmaprodec.c
+++ b/
libavcodec/wmaprodec.c
@@
-1388,6
+1388,7
@@
static int decode_frame(WMAProDecodeCtx *s, AVFrame *frame, int *got_frame_ptr)
if (s->skip_frame) {
s->skip_frame = 0;
*got_frame_ptr = 0;
+ av_frame_unref(frame);
} else {
*got_frame_ptr = 1;
}