mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
rtptheoradepay: Fix build on macosx.
Use G_GSIZE_FORMAT instead of u.
This commit is contained in:
parent
c052906590
commit
f9d7640bc9
1 changed files with 5 additions and 3 deletions
|
@ -147,11 +147,12 @@ gst_rtp_theora_depay_parse_configuration (GstRtpTheoraDepay * rtptheoradepay,
|
||||||
|
|
||||||
/* deserialize base64 to buffer */
|
/* deserialize base64 to buffer */
|
||||||
size = strlen (configuration);
|
size = strlen (configuration);
|
||||||
GST_DEBUG_OBJECT (rtptheoradepay, "base64 config size %u", size);
|
GST_DEBUG_OBJECT (rtptheoradepay, "base64 config size %" G_GSIZE_FORMAT,
|
||||||
|
size);
|
||||||
|
|
||||||
data = g_base64_decode (configuration, &size);
|
data = g_base64_decode (configuration, &size);
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (rtptheoradepay, "config size %u", size);
|
GST_DEBUG_OBJECT (rtptheoradepay, "config size %" G_GSIZE_FORMAT, size);
|
||||||
|
|
||||||
/* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
/* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||||
* | Number of packed headers |
|
* | Number of packed headers |
|
||||||
|
@ -216,7 +217,8 @@ gst_rtp_theora_depay_parse_configuration (GstRtpTheoraDepay * rtptheoradepay,
|
||||||
data += 6;
|
data += 6;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (rtptheoradepay,
|
GST_DEBUG_OBJECT (rtptheoradepay,
|
||||||
"header %d, ident 0x%08x, length %u, left %u", i, ident, length, size);
|
"header %d, ident 0x%08x, length %u, left %" G_GSIZE_FORMAT, i, ident,
|
||||||
|
length, size);
|
||||||
|
|
||||||
if (size < length)
|
if (size < length)
|
||||||
goto too_small;
|
goto too_small;
|
||||||
|
|
Loading…
Reference in a new issue