[FFmpeg-cvslog] src_buffer: add forgotten avfilter_unref_buffer.

Nicolas George git at videolan.org
Sat Apr 28 19:47:54 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sat Apr 28 16:19:03 2012 +0200| [f1b82099cdc2de8b7b344a3eea0fc77f0caf7013] | committer: Nicolas George

src_buffer: add forgotten avfilter_unref_buffer.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1b82099cdc2de8b7b344a3eea0fc77f0caf7013
---

 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);



More information about the ffmpeg-cvslog mailing list