Module: libav
Branch: master
Commit: a0d5ca4f0a8e2c34d784d503a12af6303424ac6a

Author:    Diego Biurrun <[email protected]>
Committer: Diego Biurrun <[email protected]>
Date:      Mon Apr 22 04:50:45 2013 +0200

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]

---

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

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;

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to