[FFmpeg-devel] [PATCH,v2] lavfi/vf_zscale: remove unused code
Fu, Linjie
linjie.fu at intel.com
Thu Feb 27 08:48:36 EET 2020
> -----Original Messages-----
> From: "Linjie Fu" <linjie.fu at intel.com>
> Sent Time: 2019-12-12 17:14:59 (Thursday)
> To: ffmpeg-devel at ffmpeg.org
> Cc: "Linjie Fu" <linjie.fu at intel.com>
> Subject: [FFmpeg-devel] [PATCH,v2] lavfi/vf_zscale: remove unused code
>
> Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> ---
> libavfilter/vf_zscale.c | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c
> index db2dd17..bd5825f 100644
> --- a/libavfilter/vf_zscale.c
> +++ b/libavfilter/vf_zscale.c
> @@ -287,13 +287,6 @@ static int config_props(AVFilterLink *outlink)
> outlink->w = w;
> outlink->h = h;
>
> - if (inlink->w == outlink->w &&
> - inlink->h == outlink->h &&
> - inlink->format == outlink->format)
> - ;
> - else {
> - }
> -
> if (inlink->sample_aspect_ratio.num){
> outlink->sample_aspect_ratio = av_mul_q((AVRational){outlink->h *
> inlink->w, outlink->w * inlink->h}, inlink->sample_aspect_ratio);
> } else
> --
> 2.7.4
Ping.
More information about the ffmpeg-devel
mailing list