diff options
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | gst/rtp/gstrtph263pay.c | 2 |
2 files changed, 12 insertions, 1 deletions
@@ -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; |