summaryrefslogtreecommitdiffstats
path: root/gst/rtp
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-10-09 13:38:17 +0300
committerStefan Kost <ensonic@users.sf.net>2009-10-09 13:54:24 +0300
commitf41d7e7bd597dafadc3c61146b34a92f9d4f646f (patch)
treecb88fdddd4703af671b52a10388d6c51622d4bb7 /gst/rtp
parent696e350c7b088b337bd7034fedcd4fb3c01f27ef (diff)
build: don't cast, but use the right format specified instead
This correct some of the previous macos fixes.
Diffstat (limited to 'gst/rtp')
-rw-r--r--gst/rtp/gstrtph263pay.c4
-rw-r--r--gst/rtp/gstrtpvrawpay.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/gst/rtp/gstrtph263pay.c b/gst/rtp/gstrtph263pay.c
index fea83b2b..d819e4c4 100644
--- a/gst/rtp/gstrtph263pay.c
+++ b/gst/rtp/gstrtph263pay.c
@@ -707,8 +707,8 @@ gst_rtp_h263_pay_gobfinder (GstRtpH263Pay * rtph263pay,
for (i = 3; i < range - 3; i++) {
if ((current[i] == 0x0) &&
(current[i + 1] == 0x0) && (current[i + 2] >> 7 == 0x1)) {
- GST_LOG ("GOB end found at: %p start: %p len: %d", current + i - 1,
- boundry->end + 1, (gint) (current + i - boundry->end + 2));
+ GST_LOG ("GOB end found at: %p start: %p len: %u", current + i - 1,
+ boundry->end + 1, current + i - boundry->end + 2);
gst_rtp_h263_pay_boundry_init (boundry, boundry->end + 1,
current + i - 1, 0, 0);
diff --git a/gst/rtp/gstrtpvrawpay.c b/gst/rtp/gstrtpvrawpay.c
index 29053d78..01537fe4 100644
--- a/gst/rtp/gstrtpvrawpay.c
+++ b/gst/rtp/gstrtpvrawpay.c
@@ -502,8 +502,7 @@ gst_rtp_vraw_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buffer)
if (!cont)
break;
}
- GST_LOG_OBJECT (rtpvrawpay, "consumed %d bytes",
- (gint) (outdata - headers));
+ GST_LOG_OBJECT (rtpvrawpay, "consumed %u bytes", outdata - headers);
/* second pass, read headers and write the data */
while (TRUE) {