From 07bad27810cdd7d3171cbd542119aa051646377c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 14 Jul 2012 17:09:43 +0200 Subject: lavfi: unref AVFilterLink.cur_buf in ff_end_frame(). This reduces code duplication and prevents stale pointers from remaining on the link. --- libavfilter/split.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavfilter/split.c') diff --git a/libavfilter/split.c b/libavfilter/split.c index a3f6ef2337..33cb226b93 100644 --- a/libavfilter/split.c +++ b/libavfilter/split.c @@ -89,8 +89,6 @@ static void end_frame(AVFilterLink *inlink) for (i = 0; i < ctx->nb_outputs; i++) ff_end_frame(ctx->outputs[i]); - - avfilter_unref_buffer(inlink->cur_buf); } AVFilter avfilter_vf_split = { -- cgit v1.2.3