diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-07-14 17:09:43 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-07-20 21:10:42 +0200 |
commit | 07bad27810cdd7d3171cbd542119aa051646377c (patch) | |
tree | 3bb780df53f6779185ea0fc78ba584a7296105b8 /libavfilter/split.c | |
parent | 533fd5b5b468131cfe164455783c351eb69af657 (diff) | |
download | ffmpeg-07bad27810cdd7d3171cbd542119aa051646377c.tar.gz |
lavfi: unref AVFilterLink.cur_buf in ff_end_frame().
This reduces code duplication and prevents stale pointers from remaining
on the link.
Diffstat (limited to 'libavfilter/split.c')
-rw-r--r-- | libavfilter/split.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 = { |