[FFmpeg-cvslog] lavfi/alphaextract: fix frame memleak.
Clément Bœsch
git at videolan.org
Sun Mar 17 03:12:48 CET 2013
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sun Mar 17 02:57:43 2013 +0100| [286153ea48618fd2287a5e26610729c1f9e83793] | committer: Clément Bœsch
lavfi/alphaextract: fix frame memleak.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=286153ea48618fd2287a5e26610729c1f9e83793
---
libavfilter/vf_alphaextract.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_alphaextract.c b/libavfilter/vf_alphaextract.c
index 8fff805..62ceecf 100644
--- a/libavfilter/vf_alphaextract.c
+++ b/libavfilter/vf_alphaextract.c
@@ -98,7 +98,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *cur_buf)
ret = ff_filter_frame(outlink, out_buf);
end:
- av_frame_unref(cur_buf);
+ av_frame_free(&cur_buf);
return ret;
}
More information about the ffmpeg-cvslog
mailing list