mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
lavfi/aspect: fix d2q convert in init.
Regression since git 71ef1ec7b.
This commit is contained in:
parent
97104aa011
commit
7bd014eaec
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user