From 0744daa887cab007404388da9cba34149781c605 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 24 Aug 2014 02:45:58 +0200 Subject: [PATCH] Do not print a useless error number if mov header reading fails. The error string is printed by ffmpeg as for other demuxers. --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }