diff options
author | tiejun.peng <tiejun.peng@foxmail.com> | 2017-12-09 00:39:29 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-12-09 23:12:30 +0100 |
commit | 6bf5d69b2ffa8de1b6548eec6ba761118175b216 (patch) | |
tree | e797cd24338ea4dc98962906840ccc76810dd158 /libavformat/mov.c | |
parent | ab651587a715dc59775650a4c8af3cddcdfd26f8 (diff) | |
download | ffmpeg-6bf5d69b2ffa8de1b6548eec6ba761118175b216.tar.gz |
lavf/mov: modify code indentation
Signed-off-by: tiejun.peng <tiejun.peng@foxmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 48ec45254f..57fcda0154 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -6654,13 +6654,13 @@ static int mov_read_header(AVFormatContext *s) /* check MOV header */ do { - if (mov->moov_retry) - avio_seek(pb, 0, SEEK_SET); - if ((err = mov_read_default(mov, pb, atom)) < 0) { - av_log(s, AV_LOG_ERROR, "error reading header\n"); - mov_read_close(s); - return err; - } + if (mov->moov_retry) + avio_seek(pb, 0, SEEK_SET); + if ((err = mov_read_default(mov, pb, atom)) < 0) { + av_log(s, AV_LOG_ERROR, "error reading header\n"); + mov_read_close(s); + return err; + } } while ((pb->seekable & AVIO_SEEKABLE_NORMAL) && !mov->found_moov && !mov->moov_retry++); if (!mov->found_moov) { av_log(s, AV_LOG_ERROR, "moov atom not found\n"); |