[xiph-cvs] cvs commit: Tremor framing.c

Monty xiphmont at xiph.org
Mon Mar 31 14:14:09 PST 2003



xiphmont    03/03/31 17:14:09

  Modified:    .        framing.c
  Log:
  Remove a C99-ism for the framing code.
  
  Monty

Revision  Changes    Path
1.6       +3 -2      Tremor/framing.c

Index: framing.c
===================================================================
RCS file: /usr/local/cvsroot/Tremor/framing.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- framing.c	29 Mar 2003 03:07:21 -0000	1.5
+++ framing.c	31 Mar 2003 22:14:09 -0000	1.6
@@ -878,10 +878,11 @@
       
       /* process/prepare next page, if any */
 
+      long pageno;
+      oggbyte_buffer ob;
       ogg_page og;               /* only for parsing header values */
       og.header=os->header_tail; /* only for parsing header values */
-      long pageno=ogg_page_pageno(&og);
-      oggbyte_buffer ob;
+      pageno=ogg_page_pageno(&og);
 
       oggbyte_init(&ob,os->header_tail);
       os->lacing_fill=oggbyte_read1(&ob,26);

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list