From b5eb630e216cd997050744aca0864012d5e1f7c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= 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_hqdn3d.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavfilter/vf_hqdn3d.c') diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c index 939a31df28..4ea4ac9aa0 100644 --- a/libavfilter/vf_hqdn3d.c +++ b/libavfilter/vf_hqdn3d.c @@ -338,10 +338,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 (c = 0; c < 3; c++) { -- cgit v1.2.3