diff mbox

[FFmpeg-devel] lavf/mov: modify code indentation

Message ID 1512751169-7693-1-git-send-email-tiejun.peng@foxmail.com
State Accepted
Commit 6bf5d69b2ffa8de1b6548eec6ba761118175b216
Headers show

Commit Message

tiejun.peng Dec. 8, 2017, 4:39 p.m. UTC
Signed-off-by: tiejun.peng <tiejun.peng@foxmail.com>
---
 libavformat/mov.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Comments

Michael Niedermayer Dec. 9, 2017, 6:45 p.m. UTC | #1
On Sat, Dec 09, 2017 at 12:39:29AM +0800, tiejun.peng wrote:
> Signed-off-by: tiejun.peng <tiejun.peng@foxmail.com>
> ---
>  libavformat/mov.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)

will apply

thx

[...]
diff mbox

Patch

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 9982204..180b6f4 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -6630,13 +6630,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");