aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-07-18 10:24:48 +0200
committerClément Bœsch <cboesch@gopro.com>2017-07-18 10:39:43 +0200
commitaf50fbaaeb6881d91e9d6b5fcdc56468c0b17ec2 (patch)
tree31d798a5a39fffdce4b5a8a7b8462219adb52e87 /ffplay.c
parent998687f1b23d2899d9975834faf3a2aed2f335ee (diff)
downloadffmpeg-af50fbaaeb6881d91e9d6b5fcdc56468c0b17ec2.tar.gz
ffplay: reindent after previous commit
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/ffplay.c b/ffplay.c
index 2eaeebc826..7cc5ab1644 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2749,19 +2749,18 @@ static int read_thread(void *arg)
AVDictionary **opts = setup_find_stream_info_opts(ic, codec_opts);
int orig_nb_streams = ic->nb_streams;
- // TODO: reindent
- err = avformat_find_stream_info(ic, opts);
+ err = avformat_find_stream_info(ic, 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) {
- av_log(NULL, AV_LOG_WARNING,
- "%s: could not find codec parameters\n", is->filename);
- ret = -1;
- goto fail;
- }
+ if (err < 0) {
+ av_log(NULL, AV_LOG_WARNING,
+ "%s: could not find codec parameters\n", is->filename);
+ ret = -1;
+ goto fail;
+ }
}
if (ic->pb)