[FFmpeg-devel] [PATCH 03/13] src_buffer: add forgotten avfilter_unref_buffer.

Nicolas George nicolas.george at normalesup.org
Sat Apr 28 16:31:45 CEST 2012


Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
 libavfilter/src_buffer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavfilter/src_buffer.c b/libavfilter/src_buffer.c
index e306034..7873c0a 100644
--- a/libavfilter/src_buffer.c
+++ b/libavfilter/src_buffer.c
@@ -365,6 +365,7 @@ static int request_frame(AVFilterLink *link)
         break;
     case AVMEDIA_TYPE_AUDIO:
         avfilter_filter_samples(link, avfilter_ref_buffer(buf, ~0));
+        avfilter_unref_buffer(buf);
         break;
     default:
         return AVERROR(ENOSYS);
-- 
1.7.2.5



More information about the ffmpeg-devel mailing list