OSDN Git Service

Fix printf format string, fixes a warning.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 7 May 2011 17:28:45 +0000 (19:28 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 7 May 2011 18:14:47 +0000 (20:14 +0200)
libavformat/ape.c

index d63b2ac..4b37c79 100644 (file)
@@ -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;
     }