mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-04 22:04:38 +00:00
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)
|
||||
avio_seek(pb, 0, SEEK_SET);
|
||||
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);
|
||||
return err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user