Browse code

Fix style: if( -> if (.

Originally committed as revision 25764 to svn://svn.ffmpeg.org/ffmpeg/trunk

Stefano Sabatini authored on 2010/11/19 05:37:20
Showing 1 changed files
... ...
@@ -35,21 +35,21 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
35 35
     double  ratio;
36 36
     int64_t gcd;
37 37
 
38
-    if(args) {
39
-        if(sscanf(args, "%d:%d", &aspect->aspect.num, &aspect->aspect.den) < 2) {
40
-            if(sscanf(args, "%lf", &ratio) < 1)
38
+    if (args) {
39
+        if (sscanf(args, "%d:%d", &aspect->aspect.num, &aspect->aspect.den) < 2) {
40
+            if (sscanf(args, "%lf", &ratio) < 1)
41 41
                 return -1;
42 42
             aspect->aspect = av_d2q(ratio, 100);
43 43
         } else {
44 44
             gcd = av_gcd(FFABS(aspect->aspect.num), FFABS(aspect->aspect.den));
45
-            if(gcd) {
45
+            if (gcd) {
46 46
                 aspect->aspect.num /= gcd;
47 47
                 aspect->aspect.den /= gcd;
48 48
             }
49 49
         }
50 50
     }
51 51
 
52
-    if(aspect->aspect.den == 0)
52
+    if (aspect->aspect.den == 0)
53 53
         aspect->aspect = (AVRational) {0, 1};
54 54
 
55 55
     return 0;