[FFmpeg-cvslog] ffprobe: reindent after previous commit

Stefano Sabatini git at videolan.org
Tue Sep 25 09:25:19 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Mon Sep 24 18:21:21 2012 +0200| [58e90259930312f7b0e9671a0a3820c2c622e291] | committer: Stefano Sabatini

ffprobe: reindent after previous commit

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=58e90259930312f7b0e9671a0a3820c2c622e291
---

 ffprobe.c |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/ffprobe.c b/ffprobe.c
index bc60ca0..e4941d5 100644
--- 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)



More information about the ffmpeg-cvslog mailing list