mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gstrtpvorbisdepay: Fix build on macosx
This commit is contained in:
parent
d3e8f61644
commit
72a9b89b50
1 changed files with 3 additions and 2 deletions
|
@ -176,7 +176,7 @@ gst_rtp_vorbis_depay_parse_configuration (GstRtpVorbisDepay * rtpvorbisdepay,
|
||||||
GST_BUFFER_MALLOCDATA (confbuf) = data;
|
GST_BUFFER_MALLOCDATA (confbuf) = data;
|
||||||
GST_BUFFER_SIZE (confbuf) = size;
|
GST_BUFFER_SIZE (confbuf) = size;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (rtpvorbisdepay, "config size %u", size);
|
GST_DEBUG_OBJECT (rtpvorbisdepay, "config size %" G_GSIZE_FORMAT, size);
|
||||||
|
|
||||||
/* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
/* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||||
* | Number of packed headers |
|
* | Number of packed headers |
|
||||||
|
@ -243,7 +243,8 @@ gst_rtp_vorbis_depay_parse_configuration (GstRtpVorbisDepay * rtpvorbisdepay,
|
||||||
offset += 6;
|
offset += 6;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (rtpvorbisdepay,
|
GST_DEBUG_OBJECT (rtpvorbisdepay,
|
||||||
"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