diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-09-24 18:21:21 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-09-25 09:22:00 +0200 |
commit | 58e90259930312f7b0e9671a0a3820c2c622e291 (patch) | |
tree | 27985afce75c99960eb855fe53f858c6cab92893 /ffprobe.c | |
parent | 4b370d6126ab74c6112e2c1edfad3f48ebcf08ad (diff) | |
download | ffmpeg-58e90259930312f7b0e9671a0a3820c2c622e291.tar.gz |
ffprobe: reindent after previous commit
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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) |