aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-25 04:44:12 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-25 04:45:41 +0100
commit6d16a96a95e1b6b79344fbf3069004b1dd952d64 (patch)
treecc4f41654ff576fee7db494e83d11981cf044a48 /libavfilter
parent92afb431621c79155fcb7171d26f137eb1bee028 (diff)
downloadffmpeg-6d16a96a95e1b6b79344fbf3069004b1dd952d64.tar.gz
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@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_boxblur.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_boxblur.c b/libavfilter/vf_boxblur.c
index db1b579099..ddb4b258e9 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 = {