[xiph-cvs] cvs commit: vorbis-tools/oggdec oggdec.c
Carsten Haese
carsten at xiph.org
Wed Jan 7 05:06:26 PST 2004
carsten 04/01/07 08:06:26
Modified: oggdec oggdec.c
Log:
Patch for bug #495, oggdec doesn't recover from hole in data in quiet mode
Revision Changes Path
1.19 +4 -2 vorbis-tools/oggdec/oggdec.c
Index: oggdec.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggdec/oggdec.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- oggdec.c 18 Nov 2003 19:16:18 -0000 1.18
+++ oggdec.c 7 Jan 2004 13:06:25 -0000 1.19
@@ -248,8 +248,10 @@
break;
}
- if(ret < 0 && !quiet) {
- fprintf(stderr, "Warning: hole in data\n");
+ if(ret < 0 ) {
+ if( !quiet ) {
+ fprintf(stderr, "Warning: hole in data\n");
+ }
continue;
}
<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