ffprobe: reindent after previous commit
authorStefano Sabatini <stefasab@gmail.com>
Mon, 24 Sep 2012 16:21:21 +0000 (18:21 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Tue, 25 Sep 2012 07:22:00 +0000 (09:22 +0200)
ffprobe.c

index bc60ca0..e4941d5 100644 (file)
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -353,16 +353,16 @@ static void writer_print_time(WriterContext *wctx, const char *key,
 {
     char buf[128];
 
-        if ((!is_duration && ts == AV_NOPTS_VALUE) || (is_duration && ts == 0)) {
-            writer_print_string(wctx, key, "N/A", 1);
-        } else {
-            double d = ts * av_q2d(*time_base);
-            struct unit_value uv;
-            uv.val.d = d;
-            uv.unit = unit_second_str;
-            value_string(buf, sizeof(buf), uv);
-            writer_print_string(wctx, key, buf, 0);
-        }
+    if ((!is_duration && ts == AV_NOPTS_VALUE) || (is_duration && ts == 0)) {
+        writer_print_string(wctx, key, "N/A", 1);
+    } else {
+        double d = ts * av_q2d(*time_base);
+        struct unit_value uv;
+        uv.val.d = d;
+        uv.unit = unit_second_str;
+        value_string(buf, sizeof(buf), uv);
+        writer_print_string(wctx, key, buf, 0);
+    }
 }
 
 static void writer_print_ts(WriterContext *wctx, const char *key, int64_t ts, int is_duration)