[xiph-cvs] cvs commit: vorbis-tools/oggenc audio.c
Jack Moffitt
jack at xiph.org
Tue Aug 28 14:40:49 PDT 2001
jack 01/08/28 14:40:49
Modified: oggenc audio.c
Log:
fix bug on request of vakor
Revision Changes Path
1.15 +1 -1 vorbis-tools/oggenc/audio.c
Index: audio.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/audio.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- audio.c 2001/08/13 06:09:13 1.14
+++ audio.c 2001/08/28 21:40:48 1.15
@@ -370,7 +370,7 @@
" The program that created this wav file is broken.\n"
" Don't use it, or report a bug.\n");
- if(fread(buf,1,16,in) < len)
+ if(fread(buf,1,16,in) < 16)
{
fprintf(stderr, "Warning: Unexpected EOF in reading WAV header\n");
return 0;
--- >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