rtph263pay: fix compilation on big-endian

Some semicolons were missing from the big-endian structs in gstrtph263pay.h.
A GST_DEBUG call was missing a format specifier.

Fixes #579069
This commit is contained in:
James Andrewartha 2009-04-15 19:24:49 +02:00 committed by Wim Taymans
parent 94d5d24cf0
commit ac48c2d211
2 changed files with 3 additions and 3 deletions

View file

@ -734,7 +734,7 @@ gst_rtp_h263_pay_gobfinder (GstRtpH263Pay * rtph263pay,
}
}
GST_DEBUG ("Couldn't find any new GBSC in this frame", range);
GST_DEBUG ("Couldn't find any new GBSC in this frame, range:%u", range);
b = gst_rtp_h263_pay_boundry_new (boundry->end + 1,
(guint8 *) (rtph263pay->data + rtph263pay->available_data - 1), 0, 0);

View file

@ -189,7 +189,7 @@ typedef struct _GstRtpH263PayBHeader
unsigned int hmv21:6; /* horizontal motion vector predictor for MB 3 - part 1 */
unsigned int hmv22:1; /* horizontal motion vector predictor for MB 3 - part 2 */
unsigned int vmv21:7 /* vertical motion vector predictor for MB 3 */
unsigned int vmv21:7; /* vertical motion vector predictor for MB 3 */
#else
#error "G_BYTE_ORDER should be big or little endian."
#endif
@ -265,7 +265,7 @@ typedef struct _GstRtpH263PayCHeader
unsigned int hmv21:6; /* horizontal motion vector predictor for MB 3 - part 1 */
unsigned int hmv22:1; /* horizontal motion vector predictor for MB 3 - part 2 */
unsigned int vmv21:7 /* vertical motion vector predictor for MB 3 */
unsigned int vmv21:7; /* vertical motion vector predictor for MB 3 */
unsigned int rr1:8; /* reserved */
unsigned int rr2:8; /* reserved */