Do not print a useless error number if mov header reading fails.
The error string is printed by ffmpeg as for other demuxers.
This commit is contained in:
parent
ab1e431288
commit
0744daa887
@ -3562,7 +3562,7 @@ static int mov_read_header(AVFormatContext *s)
|
|||||||
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: %d\n", err);
|
av_log(s, AV_LOG_ERROR, "error reading header\n");
|
||||||
mov_read_close(s);
|
mov_read_close(s);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user