summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--ChangeLog11
-rw-r--r--gst/rtp/gstrtph263pay.c2
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ffd4c9d1..a3d78f2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2007-09-07 Tim-Philipp Müller <tim at centricular dot net>
+
+ 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)
+
2007-09-07 Wim Taymans <wim.taymans@gmail.com>
* sys/v4l2/v4l2src_calls.c:
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;