mpegvideoparse: fix warning in macosx snow leopard
This commit is contained in:
parent
3fedf9e9a5
commit
fc0677a5a1
@ -599,7 +599,8 @@ scan_keyframe (MpegVideoParse * mpegvideoparse)
|
|||||||
if (count)
|
if (count)
|
||||||
scanword = (scanword << (8 * (8 - 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);
|
data = GST_BUFFER_DATA (head);
|
||||||
size = GST_BUFFER_SIZE (head);
|
size = GST_BUFFER_SIZE (head);
|
||||||
@ -607,8 +608,8 @@ scan_keyframe (MpegVideoParse * mpegvideoparse)
|
|||||||
while (size > 0) {
|
while (size > 0) {
|
||||||
scanword = (((guint64) data[size - 1]) << 56) | (scanword >> 8);
|
scanword = (((guint64) data[size - 1]) << 56) | (scanword >> 8);
|
||||||
|
|
||||||
GST_LOG_OBJECT (mpegvideoparse, "scanword at %d 0x%016llx", size - 1,
|
GST_LOG_OBJECT (mpegvideoparse,
|
||||||
scanword);
|
"scanword at %d 0x%016" G_GINT64_MODIFIER "x", size - 1, scanword);
|
||||||
|
|
||||||
/* check picture start and picture type */
|
/* check picture start and picture type */
|
||||||
if ((scanword & G_GUINT64_CONSTANT (0xffffffff00380000)) ==
|
if ((scanword & G_GUINT64_CONSTANT (0xffffffff00380000)) ==
|
||||||
|
Loading…
x
Reference in New Issue
Block a user