lavf/mov: modify code indentation
Signed-off-by: tiejun.peng <tiejun.peng@foxmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
ab651587a7
commit
6bf5d69b2f
@ -6654,13 +6654,13 @@ static int mov_read_header(AVFormatContext *s)
|
|||||||
|
|
||||||
/* check MOV header */
|
/* check MOV header */
|
||||||
do {
|
do {
|
||||||
if (mov->moov_retry)
|
if (mov->moov_retry)
|
||||||
avio_seek(pb, 0, SEEK_SET);
|
avio_seek(pb, 0, SEEK_SET);
|
||||||
if ((err = mov_read_default(mov, pb, atom)) < 0) {
|
if ((err = mov_read_default(mov, pb, atom)) < 0) {
|
||||||
av_log(s, AV_LOG_ERROR, "error reading header\n");
|
av_log(s, AV_LOG_ERROR, "error reading header\n");
|
||||||
mov_read_close(s);
|
mov_read_close(s);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
} while ((pb->seekable & AVIO_SEEKABLE_NORMAL) && !mov->found_moov && !mov->moov_retry++);
|
} while ((pb->seekable & AVIO_SEEKABLE_NORMAL) && !mov->found_moov && !mov->moov_retry++);
|
||||||
if (!mov->found_moov) {
|
if (!mov->found_moov) {
|
||||||
av_log(s, AV_LOG_ERROR, "moov atom not found\n");
|
av_log(s, AV_LOG_ERROR, "moov atom not found\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user