[FFmpeg-devel] [PATCH 2/2] lavu/frame: free frame metadata when unrefing a frame.
Hendrik Leppkes
h.leppkes at gmail.com
Wed Mar 13 17:51:07 CET 2013
---
libavutil/frame.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavutil/frame.c b/libavutil/frame.c
index fe2f40c..58e77c7 100644
--- 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);
}
--
1.8.0.msysgit.0
More information about the ffmpeg-devel
mailing list