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:
84bf1cb
)
lavu/frame: free frame metadata when unrefing a frame.
author
Hendrik Leppkes
<h.leppkes@gmail.com>
Wed, 13 Mar 2013 16:51:07 +0000
(17:51 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 13 Mar 2013 19:16:49 +0000
(20:16 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/frame.c
patch
|
blob
|
history
diff --git
a/libavutil/frame.c
b/libavutil/frame.c
index
fe2f40c
..
58e77c7
100644
(file)
--- a/
libavutil/frame.c
+++ b/
libavutil/frame.c
@@
-310,6
+310,7
@@
void av_frame_unref(AVFrame *frame)
for (i = 0; i < frame->nb_extended_buf; i++)
av_buffer_unref(&frame->extended_buf[i]);
av_freep(&frame->extended_buf);
+ av_dict_free(&frame->metadata);
get_frame_defaults(frame);
}