aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_unsharp.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-07-14 17:09:43 +0200
committerAnton Khirnov <anton@khirnov.net>2012-07-20 21:12:49 +0200
commit4c9080a7ef18ad71fb0a75c8d1c1803edd780edd (patch)
treec1301bfaeaecbdc002a236dddee476d24da90df2 /libavfilter/vf_unsharp.c
parent07bad27810cdd7d3171cbd542119aa051646377c (diff)
downloadffmpeg-4c9080a7ef18ad71fb0a75c8d1c1803edd780edd.tar.gz
lavfi: unref AVFilterLink.out_buf in ff_end_frame().
This reduces code duplication and prevents stale pointers from remaining on the link.
Diffstat (limited to 'libavfilter/vf_unsharp.c')
-rw-r--r--libavfilter/vf_unsharp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c
index 3d28759ddf..2a0fe00660 100644
--- a/libavfilter/vf_unsharp.c
+++ b/libavfilter/vf_unsharp.c
@@ -227,7 +227,6 @@ static void end_frame(AVFilterLink *link)
ff_draw_slice(link->dst->outputs[0], 0, link->h, 1);
ff_end_frame(link->dst->outputs[0]);
- avfilter_unref_buffer(out);
}
static void draw_slice(AVFilterLink *link, int y, int h, int slice_dir)