diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-18 20:37:20 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-18 20:37:20 +0000 |
commit | bdb47f3a2c64bf296c6769f32b6ec9bc19269926 (patch) | |
tree | f566754c09356289a069bf850fbd4fb50f1ce09c /libavfilter/vf_aspect.c | |
parent | cef4b74bf209fdc2e78385c44dfbec4dbdb281b4 (diff) | |
download | ffmpeg-bdb47f3a2c64bf296c6769f32b6ec9bc19269926.tar.gz |
Fix style: if( -> if (.
Originally committed as revision 25764 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/vf_aspect.c')
-rw-r--r-- | libavfilter/vf_aspect.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/vf_aspect.c b/libavfilter/vf_aspect.c index 838ffdb0a9..cdb5390230 100644 --- a/libavfilter/vf_aspect.c +++ b/libavfilter/vf_aspect.c @@ -35,21 +35,21 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) double ratio; int64_t gcd; - if(args) { - if(sscanf(args, "%d:%d", &aspect->aspect.num, &aspect->aspect.den) < 2) { - if(sscanf(args, "%lf", &ratio) < 1) + if (args) { + if (sscanf(args, "%d:%d", &aspect->aspect.num, &aspect->aspect.den) < 2) { + if (sscanf(args, "%lf", &ratio) < 1) return -1; aspect->aspect = av_d2q(ratio, 100); } else { gcd = av_gcd(FFABS(aspect->aspect.num), FFABS(aspect->aspect.den)); - if(gcd) { + if (gcd) { aspect->aspect.num /= gcd; aspect->aspect.den /= gcd; } } } - if(aspect->aspect.den == 0) + if (aspect->aspect.den == 0) aspect->aspect = (AVRational) {0, 1}; return 0; |