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:12:49 +0200 |
commit | 4c9080a7ef18ad71fb0a75c8d1c1803edd780edd (patch) | |
tree | c1301bfaeaecbdc002a236dddee476d24da90df2 /libavfilter/vf_libopencv.c | |
parent | 07bad27810cdd7d3171cbd542119aa051646377c (diff) | |
download | ffmpeg-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_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 = { |