From af50fbaaeb6881d91e9d6b5fcdc56468c0b17ec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Tue, 18 Jul 2017 10:24:48 +0200 Subject: [PATCH] ffplay: reindent after previous commit --- ffplay.c | 21 ++++++++++----------- 1 file 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)