src_buffer: add forgotten avfilter_unref_buffer.
authorNicolas George <nicolas.george@normalesup.org>
Sat, 28 Apr 2012 14:19:03 +0000 (16:19 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Sat, 28 Apr 2012 17:37:57 +0000 (19:37 +0200)
libavfilter/src_buffer.c

index e306034..7873c0a 100644 (file)
@@ -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);