[libav-commits] asfdec: Fix printf format string length modifier

Diego Biurrun git at libav.org
Mon Jan 7 13:28:36 CET 2013


Module: libav
Branch: master
Commit: e817d9139ff6d761fbee2c990ff0b72789d3c17c

Author:    Diego Biurrun <diego at biurrun.de>
Committer: Diego Biurrun <diego at biurrun.de>
Date:      Mon Dec 31 11:26:17 2012 +0100

asfdec: Fix printf format string length modifier

---

 libavformat/asfdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index c6b322d..ca6c73b 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -749,7 +749,7 @@ static int asf_read_header(AVFormatContext *s)
             }
         }
         if(avio_tell(pb) != gpos + gsize)
-            av_log(s, AV_LOG_DEBUG, "gpos mismatch our pos=%"PRIu64", end=%"PRIu64"\n", avio_tell(pb)-gpos, gsize);
+            av_log(s, AV_LOG_DEBUG, "gpos mismatch our pos=%"PRIu64", end=%"PRId64"\n", avio_tell(pb)-gpos, gsize);
         avio_seek(pb, gpos + gsize, SEEK_SET);
     }
     ff_get_guid(pb, &g);



More information about the libav-commits mailing list