aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-07-18 10:24:55 +0200
committerClément Bœsch <cboesch@gopro.com>2017-07-18 10:39:46 +0200
commitdad54e3c29dc1763b52d516a9d25722c3b4623e7 (patch)
tree40e28548a2fa8457316b3fd9dac9457c3c1730c2
parent8e0d5b354e70eb1d386e9f459a876dfdc9367591 (diff)
downloadffmpeg-dad54e3c29dc1763b52d516a9d25722c3b4623e7.tar.gz
ffprobe: reindent after previous commit
-rw-r--r--ffprobe.c17
1 files 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);