aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_aspect.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-04-17 23:32:51 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-04-17 23:37:22 +0200
commit1efcab02b6c717567c370239b5fc94ac77095079 (patch)
treef7d7f52352510762bc8422cc5f50b4d52346b3cf /libavfilter/vf_aspect.c
parentf04ec05f0ed0c45174c10621bee9e00f62f78f03 (diff)
downloadffmpeg-1efcab02b6c717567c370239b5fc94ac77095079.tar.gz
lavfi/aspect: apply hot fix for NUM:DEN syntax
Diffstat (limited to 'libavfilter/vf_aspect.c')
-rw-r--r--libavfilter/vf_aspect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_aspect.c b/libavfilter/vf_aspect.c
index 7268b0fc8d..4c08e53010 100644
--- a/libavfilter/vf_aspect.c
+++ b/libavfilter/vf_aspect.c
@@ -55,7 +55,7 @@ static av_cold int init(AVFilterContext *ctx)
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, s->max);
- }
+ } else
#endif
if (s->ratio_str) {
ret = av_parse_ratio(&s->aspect, s->ratio_str, s->max, 0, ctx);