diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-11 22:46:34 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-11 22:46:47 +0200 |
commit | 7bd014eaecef72fb680c7146351998708843bb27 (patch) | |
tree | 72f0dc411b4971b803ebd6cc2b4fe4cd13c33ce9 /libavfilter | |
parent | 97104aa011da3a22bc445bdd0630a03c9fd5760b (diff) | |
download | ffmpeg-7bd014eaecef72fb680c7146351998708843bb27.tar.gz |
lavfi/aspect: fix d2q convert in init.
Regression since git 71ef1ec7b.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_aspect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_aspect.c b/libavfilter/vf_aspect.c index 4e7db56e9e..99457a76a1 100644 --- a/libavfilter/vf_aspect.c +++ b/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) { av_log(ctx, AV_LOG_WARNING, "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; |