mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
mpegvideoparse: fix warning in macosx snow leopard
This commit is contained in:
parent
3fedf9e9a5
commit
fc0677a5a1
1 changed files with 4 additions and 3 deletions
|
@ -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)) ==
|
||||
|
|
Loading…
Reference in a new issue