[FFmpeg-cvslog] lavfi/aspect: apply hot fix for NUM:DEN syntax

Stefano Sabatini git at videolan.org
Wed Apr 17 23:40:32 CEST 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Wed Apr 17 23:32:51 2013 +0200| [1efcab02b6c717567c370239b5fc94ac77095079] | committer: Stefano Sabatini

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1efcab02b6c717567c370239b5fc94ac77095079
---

 libavfilter/vf_aspect.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_aspect.c b/libavfilter/vf_aspect.c
index 7268b0f..4c08e53 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);



More information about the ffmpeg-cvslog mailing list