[FFmpeg-cvslog] mxfenc: Use correct printf format specifier for int64_t

Diego Biurrun git at videolan.org
Mon Apr 22 18:38:33 CEST 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Apr 22 04:50:45 2013 +0200| [a0d5ca4f0a8e2c34d784d503a12af6303424ac6a] | committer: Diego Biurrun

mxfenc: Use correct printf format specifier for int64_t

libavformat/mxfenc.c:1861:9: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'int64_t' [-Wformat]

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a0d5ca4f0a8e2c34d784d503a12af6303424ac6a
---

 libavformat/mxfenc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 995e411..c6cdd3b 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -32,6 +32,7 @@
 
 //#define DEBUG
 
+#include <inttypes.h>
 #include <math.h>
 #include <time.h>
 
@@ -1856,7 +1857,7 @@ static int mxf_interleave_get_packet(AVFormatContext *s, AVPacket *out, AVPacket
         }
 
         *out = pktl->pkt;
-        av_dlog(s, "out st:%d dts:%lld\n", (*out).stream_index, (*out).dts);
+        av_dlog(s, "out st:%d dts:%"PRId64"\n", (*out).stream_index, (*out).dts);
         s->packet_buffer = pktl->next;
         if(s->streams[pktl->pkt.stream_index]->last_in_packet_buffer == pktl)
             s->streams[pktl->pkt.stream_index]->last_in_packet_buffer= NULL;



More information about the ffmpeg-cvslog mailing list