diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-07-14 19:09:43 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-07-20 23:12:49 +0400 |
commit | 4c9080a7ef18ad71fb0a75c8d1c1803edd780edd (patch) | |
tree | c1301bfaeaecbdc002a236dddee476d24da90df2 /libavfilter/vf_libopencv.c | |
parent | 07bad27810cdd7d3171cbd542119aa051646377c (diff) |
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_libopencv.c')
-rw-r--r-- | libavfilter/vf_libopencv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavfilter/vf_libopencv.c b/libavfilter/vf_libopencv.c index f04d4690b5..1e8185fc38 100644 --- a/libavfilter/vf_libopencv.c +++ b/libavfilter/vf_libopencv.c @@ -367,7 +367,6 @@ static void end_frame(AVFilterLink *inlink) ff_draw_slice(outlink, 0, outlink->h, 1); ff_end_frame(outlink); - avfilter_unref_buffer(outpicref); } AVFilter avfilter_vf_ocv = { |