[FFmpeg-cvslog] vf_boxblur: fix memleak
Michael Niedermayer
git at videolan.org
Fri Nov 25 05:22:08 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Nov 25 04:44:12 2011 +0100| [6d16a96a95e1b6b79344fbf3069004b1dd952d64] | committer: Michael Niedermayer
vf_boxblur: fix memleak
As the filter uses the default start frame, the cleanup done by the
default end frame is needed.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6d16a96a95e1b6b79344fbf3069004b1dd952d64
---
libavfilter/vf_boxblur.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavfilter/vf_boxblur.c b/libavfilter/vf_boxblur.c
index db1b579..ddb4b25 100644
--- a/libavfilter/vf_boxblur.c
+++ b/libavfilter/vf_boxblur.c
@@ -325,7 +325,7 @@ static void end_frame(AVFilterLink *inlink)
boxblur->temp);
avfilter_draw_slice(outlink, 0, inlink->h, 1);
- avfilter_end_frame(outlink);
+ avfilter_default_end_frame(inlink);
}
AVFilter avfilter_vf_boxblur = {
More information about the ffmpeg-cvslog
mailing list