[xiph-cvs] cvs commit: snatch snatch2wav.c
Monty
xiphmont at xiph.org
Wed Nov 14 20:17:32 PST 2001
xiphmont 01/11/14 20:17:32
Modified: . snatch2wav.c
Log:
eliminate a divide by zero in status reporting
Revision Changes Path
1.2 +1 -1 snatch/snatch2wav.c
Index: snatch2wav.c
===================================================================
RCS file: /usr/local/cvsroot/snatch/snatch2wav.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- snatch2wav.c 2001/11/15 04:09:07 1.1
+++ snatch2wav.c 2001/11/15 04:17:32 1.2
@@ -56,7 +56,7 @@
while(!done){
done=snatch_iterator(stdin,stdout,1,0);
- if(noisy){
+ if(noisy && audbuf_rate){
long seconds=samplesout/audbuf_rate;
long minutes=seconds/60;
long hours;
--- >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