From 360218713f0da84b8a7f5658eeed61e23e9ce3ef Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 18 Feb 2012 11:31:28 +0100 Subject: [PATCH] lavfi/aspect: show log info even in case no argument is provided to setdar/setsar --- libavfilter/vf_aspect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_aspect.c b/libavfilter/vf_aspect.c index 9b07de9372..7c4014a5a2 100644 --- a/libavfilter/vf_aspect.c +++ b/libavfilter/vf_aspect.c @@ -43,9 +43,9 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) "Invalid string '%s' for aspect ratio.\n", args); return ret; } - - av_log(ctx, AV_LOG_INFO, "a:%d/%d\n", aspect->ratio.num, aspect->ratio.den); } + + av_log(ctx, AV_LOG_INFO, "a:%d/%d\n", aspect->ratio.num, aspect->ratio.den); return 0; }