[xiph-cvs] cvs commit: vorbis-tools/vorbiscomment vcedit.c
Michael Smith
msmith at xiph.org
Fri Feb 16 05:37:49 PST 2001
msmith 01/02/16 05:37:49
Modified: vorbiscomment vcedit.c
Log:
Fix chaining bugs. Thanks to Warren Spits for pointing these out.
Revision Changes Path
1.8 +3 -2 vorbis-tools/vorbiscomment/vcedit.c
Index: vcedit.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/vorbiscomment/vcedit.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- vcedit.c 2001/02/10 07:20:02 1.7
+++ vcedit.c 2001/02/16 13:37:48 1.8
@@ -6,7 +6,7 @@
*
* Comment editing backend, suitable for use by nice frontend interfaces.
*
- * last modified: $Id: vcedit.c,v 1.7 2001/02/10 07:20:02 msmith Exp $
+ * last modified: $Id: vcedit.c,v 1.8 2001/02/16 13:37:48 msmith Exp $
*/
#include <stdio.h>
@@ -287,13 +287,14 @@
}
}
+ eosin=0; /* clear it, because not all paths to here do */
while(!eosin) /* We reached eos, not eof */
{
/* We copy the rest of the stream (other logical streams)
* through, a page at a time. */
while(1)
{
- result = ogg_sync_pageout(state->oy, &ogin);
+ result = ogg_sync_pageout(state->oy, &ogout);
if(result==0) break;
if(result<0)
state->lasterror = "Corrupt or missing data, continuing...";
--- >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