From b5eb630e216cd997050744aca0864012d5e1f7c9 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Mon, 3 Dec 2012 21:47:01 +0100 Subject: lavfi: remove some video w/h settings after avfilter_copy_buffer_ref_props. video->[wh] will be set with the same values as the input after avfilter_copy_buffer_ref_props. These filters don't change the size of the input so there is no need for this code. --- libavfilter/vf_delogo.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libavfilter/vf_delogo.c') diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c index 3c9843f03a..d6b88d93eb 100644 --- a/libavfilter/vf_delogo.c +++ b/libavfilter/vf_delogo.c @@ -229,11 +229,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *in) avfilter_unref_bufferp(&in); return AVERROR(ENOMEM); } - avfilter_copy_buffer_ref_props(out, in); - - out->video->w = outlink->w; - out->video->h = outlink->h; } for (plane = 0; plane < 4 && in->data[plane]; plane++) { -- cgit v1.2.3