diff options
author | Stefan Kost <ensonic@users.sf.net> | 2009-10-09 14:21:09 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2009-10-09 14:21:09 +0300 |
commit | f854836f5c7aac4354c996160942c3c2dd5601e0 (patch) | |
tree | 5c78c4ea785c32a07fe9e64c240b44db03605a4f /gst/rtp/gstrtph263pay.c | |
parent | f41d7e7bd597dafadc3c61146b34a92f9d4f646f (diff) |
buikd: explicitely cast, to tell some compilers that this is not long int
Diffstat (limited to 'gst/rtp/gstrtph263pay.c')
-rw-r--r-- | gst/rtp/gstrtph263pay.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gst/rtp/gstrtph263pay.c b/gst/rtp/gstrtph263pay.c index d819e4c4..2394b0fb 100644 --- a/gst/rtp/gstrtph263pay.c +++ b/gst/rtp/gstrtph263pay.c @@ -708,7 +708,7 @@ gst_rtp_h263_pay_gobfinder (GstRtpH263Pay * rtph263pay, if ((current[i] == 0x0) && (current[i + 1] == 0x0) && (current[i + 2] >> 7 == 0x1)) { GST_LOG ("GOB end found at: %p start: %p len: %u", current + i - 1, - boundry->end + 1, current + i - boundry->end + 2); + boundry->end + 1, (guint) (current + i - boundry->end + 2)); gst_rtp_h263_pay_boundry_init (boundry, boundry->end + 1, current + i - 1, 0, 0); @@ -924,8 +924,9 @@ gst_rtp_h263_pay_move_window_right (GstRtpH263PayContext * context, guint n, } else { if (n > rest_bits) { context->window = - (context->window << rest_bits) | (*context-> - win_end & (((guint) pow (2.0, (double) rest_bits)) - 1)); + (context-> + window << rest_bits) | (*context->win_end & (((guint) pow (2.0, + (double) rest_bits)) - 1)); n -= rest_bits; rest_bits = 0; } else { @@ -1686,8 +1687,8 @@ gst_rtp_h263_pay_flush (GstRtpH263Pay * rtph263pay) gst_rtp_h263_pay_boundry_init (&bound, NULL, rtph263pay->data - 1, 0, 0); context->gobs = - (GstRtpH263PayGob **) g_malloc0 (format_props[context->piclayer-> - ptype_srcformat][0] * sizeof (GstRtpH263PayGob *)); + (GstRtpH263PayGob **) g_malloc0 (format_props[context-> + piclayer->ptype_srcformat][0] * sizeof (GstRtpH263PayGob *)); for (i = 0; i < format_props[context->piclayer->ptype_srcformat][0]; i++) { |