summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtph263pay.c
diff options
context:
space:
mode:
authorHaakon Sporsheim <haakon.sporsheim@tandberg.com>2007-09-07 18:04:41 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-09-07 18:04:41 +0000
commit5e39863fca93bb8c74208c11e426b15efd15632d (patch)
tree7e4437d085041bd5adf5bcb4b3687ca1cd89747d /gst/rtp/gstrtph263pay.c
parentcd79aec473c610fd8a344ddfe339e538143271ec (diff)
gst/rtp/gstrtph263pay.c: Fix up header structure so that compilers don't add padding between the structure fields, si...
Original commit message from CVS: Patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com> * gst/rtp/gstrtph263pay.c: Fix up header structure so that compilers don't add padding between the structure fields, since that would lead to us sending RTP packets with broken headers (as is currently the case when compiling with MSVC). Also see similar fixes in libgstrtp in gst-plugins-base. (#474616; #471194)
Diffstat (limited to 'gst/rtp/gstrtph263pay.c')
-rw-r--r--gst/rtp/gstrtph263pay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtph263pay.c b/gst/rtp/gstrtph263pay.c
index 273f4e50..2e8b87a1 100644
--- a/gst/rtp/gstrtph263pay.c
+++ b/gst/rtp/gstrtph263pay.c
@@ -66,7 +66,7 @@ typedef struct _GstRFC2190AHeader
#else
#error "G_BYTE_ORDER should be big or little endian."
#endif
- guint8 tr; /* Temporal ref for P frame */
+ unsigned int tr:8; /* Temporal ref for P frame */
} GstRFC2190AHeader;