summaryrefslogtreecommitdiff
path: root/libavformat/mmst.c
diff options
context:
space:
mode:
authorZhentan Feng <spyfeng@gmail.com>2010-07-20 15:05:45 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-07-20 15:05:45 +0000
commit0c717a30e0975cb26578c04385915bdddedecdd6 (patch)
treeec35e96fae4d0016edb0d2a5f7adb22569ca3198 /libavformat/mmst.c
parent9078eba062f5e0463d4029aa42b7b0026f42bed3 (diff)
Fix a compile warning when compiling with DEBUG=1. The warning was:
format ‘%d’ expects type ‘int’, but argument 3 has type ‘uint64_t’ Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24359 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mmst.c')
-rw-r--r--libavformat/mmst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mmst.c b/libavformat/mmst.c
index 7a922bfceb..5d39c62306 100644
--- a/libavformat/mmst.c
+++ b/libavformat/mmst.c
@@ -444,7 +444,7 @@ static int asf_header_parser(MMSContext *mms)
while(end - p >= sizeof(ff_asf_guid) + 8) {
uint64_t chunksize = AV_RL64(p + sizeof(ff_asf_guid));
if (!chunksize || chunksize > end - p) {
- dprintf(NULL, "chunksize is exceptional value:%d!\n", chunksize);
+ dprintf(NULL, "chunksize is exceptional value:%"PRId64"!\n", chunksize);
return -1;
}
if (!memcmp(p, ff_asf_file_header, sizeof(ff_asf_guid))) {