mpegvideoparse: fix warning in macosx snow leopard

This commit is contained in:
Josep Torra 2009-10-11 13:07:19 +02:00
parent 3fedf9e9a5
commit fc0677a5a1

View file

@ -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)) ==