[xiph-cvs] cvs commit: vorbis-tools/vorbiscomment vcedit.c
Michael Smith
msmith at xiph.org
Fri Feb 9 23:20:03 PST 2001
msmith 01/02/09 23:20:03
Modified: vorbiscomment vcedit.c
Log:
Oops. Minor problem in the chained-stream handling code. Fixed.
Revision Changes Path
1.7 +6 -3 vorbis-tools/vorbiscomment/vcedit.c
Index: vcedit.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/vorbiscomment/vcedit.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- vcedit.c 2001/02/10 06:26:22 1.6
+++ vcedit.c 2001/02/10 07:20:02 1.7
@@ -6,7 +6,7 @@
*
* Comment editing backend, suitable for use by nice frontend interfaces.
*
- * last modified: $Id: vcedit.c,v 1.6 2001/02/10 06:26:22 msmith Exp $
+ * last modified: $Id: vcedit.c,v 1.7 2001/02/10 07:20:02 msmith Exp $
*/
#include <stdio.h>
@@ -312,8 +312,11 @@
buffer = ogg_sync_buffer(state->oy, CHUNKSIZE);
bytes = state->read(buffer,1, CHUNKSIZE, state->in);
ogg_sync_wrote(state->oy, bytes);
- if(bytes == 0) eosin = 1;
- break;
+ if(bytes == 0)
+ {
+ eosin = 1;
+ break;
+ }
}
--- >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