Commit 1efcab02 authored by Stefano Sabatini's avatar Stefano Sabatini

lavfi/aspect: apply hot fix for NUM:DEN syntax

parent f04ec05f
...@@ -55,7 +55,7 @@ static av_cold int init(AVFilterContext *ctx) ...@@ -55,7 +55,7 @@ static av_cold int init(AVFilterContext *ctx)
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, s->max); s->aspect = av_d2q(s->aspect_num / s->aspect_den, s->max);
} } else
#endif #endif
if (s->ratio_str) { if (s->ratio_str) {
ret = av_parse_ratio(&s->aspect, s->ratio_str, s->max, 0, ctx); ret = av_parse_ratio(&s->aspect, s->ratio_str, s->max, 0, ctx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment