Commit b369e386 authored by Olivier Crête's avatar Olivier Crête

rtph263pay: Indent as per gst-indent

parent c7c257b0
...@@ -894,7 +894,8 @@ gst_rtp_h263_pay_move_window_right (GstRtpH263PayContext * context, guint n, ...@@ -894,7 +894,8 @@ gst_rtp_h263_pay_move_window_right (GstRtpH263PayContext * context, guint n,
guint rest_bits, guint8 ** orig_data, guint8 ** data_end) guint rest_bits, guint8 ** orig_data, guint8 ** data_end)
{ {
GST_LOG ("Moving window: 0x%08x from: %p for %d bits, rest_bits: %d, data_end %p", GST_LOG
("Moving window: 0x%08x from: %p for %d bits, rest_bits: %d, data_end %p",
context->window, context->win_end, n, rest_bits, *data_end); context->window, context->win_end, n, rest_bits, *data_end);
if (n == 0) if (n == 0)
...@@ -916,13 +917,13 @@ gst_rtp_h263_pay_move_window_right (GstRtpH263PayContext * context, guint n, ...@@ -916,13 +917,13 @@ gst_rtp_h263_pay_move_window_right (GstRtpH263PayContext * context, guint n,
} else { } else {
if (n > rest_bits) { if (n > rest_bits) {
context->window = (context->window << rest_bits) | context->window = (context->window << rest_bits) |
(b & (((guint) pow (2.0, (double) rest_bits)) - 1)); (b & (((guint) pow (2.0, (double) rest_bits)) - 1));
n -= rest_bits; n -= rest_bits;
rest_bits = 0; rest_bits = 0;
} else { } else {
context->window = (context->window << n) | context->window = (context->window << n) |
((b & (((guint) pow (2.0, (double) rest_bits)) - 1)) >> ((b & (((guint) pow (2.0, (double) rest_bits)) - 1)) >>
(rest_bits - n)); (rest_bits - n));
rest_bits -= n; rest_bits -= n;
if (rest_bits == 0) if (rest_bits == 0)
context->win_end++; context->win_end++;
...@@ -1689,8 +1690,8 @@ gst_rtp_h263_pay_flush (GstRtpH263Pay * rtph263pay) ...@@ -1689,8 +1690,8 @@ gst_rtp_h263_pay_flush (GstRtpH263Pay * rtph263pay)
gst_rtp_h263_pay_boundry_init (&bound, NULL, rtph263pay->data - 1, 0, 0); gst_rtp_h263_pay_boundry_init (&bound, NULL, rtph263pay->data - 1, 0, 0);
context->gobs = context->gobs =
(GstRtpH263PayGob **) g_malloc0 (format_props[context->piclayer-> (GstRtpH263PayGob **) g_malloc0 (format_props[context->
ptype_srcformat][0] * sizeof (GstRtpH263PayGob *)); piclayer->ptype_srcformat][0] * sizeof (GstRtpH263PayGob *));
for (i = 0; i < format_props[context->piclayer->ptype_srcformat][0]; i++) { for (i = 0; i < format_props[context->piclayer->ptype_srcformat][0]; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment