[FFmpeg-cvslog] Do not print a useless error number if mov header reading fails.
Carl Eugen Hoyos
git at videolan.org
Sun Aug 24 04:06:42 CEST 2014
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Aug 24 02:45:58 2014 +0200| [0744daa887cab007404388da9cba34149781c605] | committer: Carl Eugen Hoyos
Do not print a useless error number if mov header reading fails.
The error string is printed by ffmpeg as for other demuxers.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0744daa887cab007404388da9cba34149781c605
---
libavformat/mov.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index b3eb287..ae48c02 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;
}
More information about the ffmpeg-cvslog
mailing list