From fc0677a5a1336aff124a134cf16cbbe0a9fdb0a3 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Sun, 11 Oct 2009 13:07:19 +0200 Subject: [PATCH] mpegvideoparse: fix warning in macosx snow leopard --- gst/mpegvideoparse/mpegvideoparse.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gst/mpegvideoparse/mpegvideoparse.c b/gst/mpegvideoparse/mpegvideoparse.c index eefa684..f175cfa 100644 --- a/gst/mpegvideoparse/mpegvideoparse.c +++ b/gst/mpegvideoparse/mpegvideoparse.c @@ -599,7 +599,8 @@ scan_keyframe (MpegVideoParse * mpegvideoparse) if (count) scanword = (scanword << (8 * (8 - count))); - GST_LOG_OBJECT (mpegvideoparse, "scanword 0x%016llx", scanword); + GST_LOG_OBJECT (mpegvideoparse, "scanword 0x%016" G_GINT64_MODIFIER "x", + scanword); data = GST_BUFFER_DATA (head); size = GST_BUFFER_SIZE (head); @@ -607,8 +608,8 @@ scan_keyframe (MpegVideoParse * mpegvideoparse) while (size > 0) { scanword = (((guint64) data[size - 1]) << 56) | (scanword >> 8); - GST_LOG_OBJECT (mpegvideoparse, "scanword at %d 0x%016llx", size - 1, - scanword); + GST_LOG_OBJECT (mpegvideoparse, + "scanword at %d 0x%016" G_GINT64_MODIFIER "x", size - 1, scanword); /* check picture start and picture type */ if ((scanword & G_GUINT64_CONSTANT (0xffffffff00380000)) == -- 2.7.4