]> git.sesse.net Git - ffmpeg/commitdiff
ffprobe: reindent after previous commit
authorStefano Sabatini <stefasab@gmail.com>
Wed, 18 Jan 2012 18:28:31 +0000 (19:28 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 20 Jan 2012 12:27:46 +0000 (13:27 +0100)
ffprobe.c

index bd88267ca4d83392439b4c239f9b8f11da967592..ce4883b3bbdaac406dc6e87233e8e4954a821e8b 100644 (file)
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -107,19 +107,19 @@ static char *value_string(char *buf, int buf_size, struct unit_value uv)
         int l;
 
         if (use_value_prefix) {
-        long long int index;
+            long long int index;
 
-        if (uv.unit == unit_byte_str && use_byte_value_binary_prefix) {
-            index = (long long int) (log(vald)/log(2)) / 10;
-            index = av_clip(index, 0, FF_ARRAY_ELEMS(binary_unit_prefixes) - 1);
-            vald /= pow(2, index * 10);
-            prefix_string = binary_unit_prefixes[index];
-        } else {
-            index = (long long int) (log10(vald)) / 3;
-            index = av_clip(index, 0, FF_ARRAY_ELEMS(decimal_unit_prefixes) - 1);
-            vald /= pow(10, index * 3);
-            prefix_string = decimal_unit_prefixes[index];
-        }
+            if (uv.unit == unit_byte_str && use_byte_value_binary_prefix) {
+                index = (long long int) (log(vald)/log(2)) / 10;
+                index = av_clip(index, 0, FF_ARRAY_ELEMS(binary_unit_prefixes) - 1);
+                vald /= pow(2, index * 10);
+                prefix_string = binary_unit_prefixes[index];
+            } else {
+                index = (long long int) (log10(vald)) / 3;
+                index = av_clip(index, 0, FF_ARRAY_ELEMS(decimal_unit_prefixes) - 1);
+                vald /= pow(10, index * 3);
+                prefix_string = decimal_unit_prefixes[index];
+            }
         }
 
         if (show_float || (use_value_prefix && vald != (long long int)vald))