[xiph-cvs] cvs commit: ogg/src stream.c
Monty
xiphmont at xiph.org
Fri Aug 15 13:31:58 PDT 2003
xiphmont 03/08/15 16:31:58
Modified: src Tag: libogg2-zerocopy stream.c
Log:
When I built libogg2 for testing the new vorbose utility, gcc 2.96
stumbled over a portion from stream.c that mixes variable declarations
with statements. The patch below fixes this.
-Carsten.
Revision Changes Path
No revision
<p>No revision
<p>1.1.2.13 +5 -3 ogg/src/Attic/stream.c
Index: stream.c
===================================================================
RCS file: /usr/local/cvsroot/ogg/src/Attic/stream.c,v
retrieving revision 1.1.2.12
retrieving revision 1.1.2.13
diff -u -r1.1.2.12 -r1.1.2.13
--- stream.c 29 Mar 2003 00:07:32 -0000 1.1.2.12
+++ stream.c 15 Aug 2003 20:31:57 -0000 1.1.2.13
@@ -12,7 +12,7 @@
function: code raw packets into framed Ogg logical stream and
decode Ogg logical streams back into raw packets
- last mod: $Id: stream.c,v 1.1.2.12 2003/03/29 00:07:32 xiphmont Exp $
+ last mod: $Id: stream.c,v 1.1.2.13 2003/08/15 20:31:57 xiphmont Exp $
********************************************************************/
@@ -290,10 +290,12 @@
/* process/prepare next page, if any */
ogg_page og; /* only for parsing header values */
- og.header=os->header_tail; /* only for parsing header values */
- long pageno=ogg_page_pageno(&og);
+ long pageno;
oggbyte_buffer ob;
+ pageno=ogg_page_pageno(&og);
+ og.header=os->header_tail; /* only for parsing header values */
+
oggbyte_init(&ob,os->header_tail,0);
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