summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-08-24 02:45:58 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-08-24 02:45:58 +0200
commit0744daa887cab007404388da9cba34149781c605 (patch)
treed3ebb1a32405cfff4e63b7159b9ecf3cbfb55ef6 /libavformat
parentab1e4312887d8e560d027803871b55b883910714 (diff)
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.c2
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;
}