[xiph-commits] r8861 - trunk/xiph-rtp

giles at motherfish-iii.xiph.org giles at motherfish-iii.xiph.org
Mon Feb 7 12:03:33 PST 2005


Author: giles
Date: 2005-02-07 12:03:32 -0800 (Mon, 07 Feb 2005)
New Revision: 8861

Modified:
   trunk/xiph-rtp/vorbisrtp.c
Log:
Mark vorbis rtp header bitfields as unsigned. This seems to have been
causing problems with proper writing of the CF flags. Fragmentation is
more sane now but still doesn't look correct.


Modified: trunk/xiph-rtp/vorbisrtp.c
===================================================================
--- trunk/xiph-rtp/vorbisrtp.c	2005-02-07 19:47:30 UTC (rev 8860)
+++ trunk/xiph-rtp/vorbisrtp.c	2005-02-07 20:03:32 UTC (rev 8861)
@@ -89,10 +89,10 @@
 
 struct VorbisBitfields {
     unsigned int cbident:32;
-    int continuation:1;
-    int fragment:1;
-    int reserved:1;
-    int pkts:5;
+    unsigned int continuation:1;
+    unsigned int fragment:1;
+    unsigned int reserved:1;
+    unsigned int pkts:5;
 } VorbisBitfields;
 
 /*****************************************************************************/



More information about the commits mailing list