lavfi/aspect: fix d2q convert in init.

Regression since git 71ef1ec7b.
pull/21/head
Clément Bœsch 12 years ago
parent 97104aa011
commit 7bd014eaec
  1. 2
      libavfilter/vf_aspect.c

@ -52,7 +52,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
if (s->aspect_num > 0 && s->aspect_den > 0) { if (s->aspect_num > 0 && s->aspect_den > 0) {
av_log(ctx, AV_LOG_WARNING, av_log(ctx, AV_LOG_WARNING,
"num:den syntax is deprecated, please use num/den or named options instead\n"); "num:den syntax is deprecated, please use num/den or named options instead\n");
s->aspect = av_d2q(s->aspect_num / s->aspect_den, INT_MAX); s->aspect = av_d2q(s->aspect_num / s->aspect_den, s->max);
} }
return 0; return 0;

Loading…
Cancel
Save