Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-07-18 11:24:48 +0300
committerClément Bœsch <cboesch@gopro.com>2017-07-18 11:39:43 +0300
commitaf50fbaaeb6881d91e9d6b5fcdc56468c0b17ec2 (patch)
tree31d798a5a39fffdce4b5a8a7b8462219adb52e87 /ffplay.c
parent998687f1b23d2899d9975834faf3a2aed2f335ee (diff)
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)