diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-08-24 02:45:58 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-08-24 02:45:58 +0200 |
commit | 0744daa887cab007404388da9cba34149781c605 (patch) | |
tree | d3ebb1a32405cfff4e63b7159b9ecf3cbfb55ef6 /libavformat | |
parent | ab1e4312887d8e560d027803871b55b883910714 (diff) | |
download | ffmpeg-0744daa887cab007404388da9cba34149781c605.tar.gz |
Do not print a useless error number if mov header reading fails.
The error string is printed by ffmpeg as for other demuxers.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index b3eb28738e..ae48c02287 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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; } |