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)
This commit is contained in:
Haakon Sporsheim 2007-09-07 18:04:41 +00:00 committed by Tim-Philipp Müller
parent cd79aec473
commit 5e39863fca
2 changed files with 12 additions and 1 deletions

View file

@ -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> 2007-09-07 Wim Taymans <wim.taymans@gmail.com>
* sys/v4l2/v4l2src_calls.c: * sys/v4l2/v4l2src_calls.c:

View file

@ -66,7 +66,7 @@ typedef struct _GstRFC2190AHeader
#else #else
#error "G_BYTE_ORDER should be big or little endian." #error "G_BYTE_ORDER should be big or little endian."
#endif #endif
guint8 tr; /* Temporal ref for P frame */ unsigned int tr:8; /* Temporal ref for P frame */
} GstRFC2190AHeader; } GstRFC2190AHeader;