[xiph-cvs] cvs commit: vorbis-tools/ogginfo ogginfo2.c

Stan Seibert volsung at xiph.org
Sun Jun 30 18:30:33 PDT 2002



volsung     02/06/30 18:30:32

  Modified:    ogginfo  ogginfo2.c
  Log:
  Fix compiler error caused by declaring a variable somewhere other than
  the start of a block.

Revision  Changes    Path
1.5       +1 -1      vorbis-tools/ogginfo/ogginfo2.c

Index: ogginfo2.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogginfo/ogginfo2.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ogginfo2.c	2002/06/30 15:43:04	1.4
+++ ogginfo2.c	2002/07/01 01:30:32	1.5
@@ -559,8 +559,8 @@
     ogg_sync_init(&sync);
 
     while(get_next_page(file, &sync, &page, &written)) {
-        gotpage = 1;
         stream_processor *p = find_stream_processor(processors, &page);
+        gotpage = 1;
 
         if(!p) {
             error(_("Could not find a processor for stream, bailing\n"));

<p><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