[FFmpeg-cvslog] ffprobe: reindent after previous commit

Clément Bœsch git at videolan.org
Tue Jul 18 11:41:18 EEST 2017


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Tue Jul 18 10:24:55 2017 +0200| [dad54e3c29dc1763b52d516a9d25722c3b4623e7] | committer: Clément Bœsch

ffprobe: reindent after previous commit

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

 ffprobe.c | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/ffprobe.c b/ffprobe.c
index 72a06d983b..f6d9be0df9 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -2807,17 +2807,16 @@ static int open_input_file(InputFile *ifile, const char *filename)
         AVDictionary **opts = setup_find_stream_info_opts(fmt_ctx, codec_opts);
         int orig_nb_streams = fmt_ctx->nb_streams;
 
-        // TODO: reindent
-    err = avformat_find_stream_info(fmt_ctx, opts);
+        err = avformat_find_stream_info(fmt_ctx, opts);
 
-    for (i = 0; i < orig_nb_streams; i++)
-        av_dict_free(&opts[i]);
-    av_freep(&opts);
+        for (i = 0; i < orig_nb_streams; i++)
+            av_dict_free(&opts[i]);
+        av_freep(&opts);
 
-    if (err < 0) {
-        print_error(filename, err);
-        return err;
-    }
+        if (err < 0) {
+            print_error(filename, err);
+            return err;
+        }
     }
 
     av_dump_format(fmt_ctx, 0, filename, 0);



More information about the ffmpeg-cvslog mailing list