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:
Carl Eugen Hoyos 2014-08-24 02:45:58 +02:00
parent ab1e431288
commit 0744daa887

View File

@ -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;
}