[FFmpeg-cvslog] Fix printf format string, fixes a warning.
Reimar Döffinger
git at videolan.org
Sat May 7 20:15:00 CEST 2011
ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat May 7 19:28:45 2011 +0200| [8c3651f4a516a531a42e55e0bf4e83edb65a7b89] | committer: Reimar Döffinger
Fix printf format string, fixes a warning.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8c3651f4a516a531a42e55e0bf4e83edb65a7b89
---
libavformat/ape.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/ape.c b/libavformat/ape.c
index d63b2ac..4b37c79 100644
--- a/libavformat/ape.c
+++ b/libavformat/ape.c
@@ -251,7 +251,7 @@ static int ape_read_header(AVFormatContext * s, AVFormatParameters * ap)
return -1;
}
if (ape->seektablelength && (ape->seektablelength / sizeof(*ape->seektable)) < ape->totalframes) {
- av_log(s, AV_LOG_ERROR, "Number of seek entries is less than number of frames: %d vs. %d\n",
+ av_log(s, AV_LOG_ERROR, "Number of seek entries is less than number of frames: %zd vs. %d\n",
ape->seektablelength / sizeof(*ape->seektable), ape->totalframes);
return AVERROR_INVALIDDATA;
}
More information about the ffmpeg-cvslog
mailing list