lavfi/aspect: apply hot fix for NUM:DEN syntax
authorStefano Sabatini <stefasab@gmail.com>
Wed, 17 Apr 2013 21:32:51 +0000 (23:32 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Wed, 17 Apr 2013 21:37:22 +0000 (23:37 +0200)
libavfilter/vf_aspect.c

index 7268b0f..4c08e53 100644 (file)
@@ -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);