changeset 6291:3a8dfc455ff0 libavformat

Fix a compile warning when compiling with DEBUG=1. Patch by Zhentan Feng <spyfeng gmail com>.
author rbultje
date Tue, 20 Jul 2010 15:05:45 +0000
parents a1500faf3a7e
children 54715a725139
files mmst.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mmst.c	Tue Jul 20 15:01:06 2010 +0000
+++ b/mmst.c	Tue Jul 20 15:05:45 2010 +0000
@@ -444,7 +444,7 @@
     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))) {