avfilter/vf_scale: Do not skip scale if range mismatches

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/146/head
Carl Eugen Hoyos 9 years ago committed by Michael Niedermayer
parent c64060d56a
commit 75d9006475
  1. 1
      libavfilter/vf_scale.c

@ -350,6 +350,7 @@ static int config_props(AVFilterLink *outlink)
scale->isws[0] = scale->isws[1] = scale->sws = NULL;
if (inlink0->w == outlink->w &&
inlink0->h == outlink->h &&
scale->in_range == scale->out_range &&
inlink0->format == outlink->format)
;
else {

Loading…
Cancel
Save