[xiph-cvs] cvs commit: vorbis-tools/oggenc audio.c

Michael Smith msmith at xiph.org
Sat Jan 26 21:01:10 PST 2002



msmith      02/01/26 21:01:10

  Modified:    oggenc   audio.c
  Log:
  Potential fix for raw mode encoding terminating unexpectedly.

Revision  Changes    Path
1.21      +1 -0      vorbis-tools/oggenc/audio.c

Index: audio.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/audio.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- audio.c	2002/01/26 11:06:40	1.20
+++ audio.c	2002/01/27 05:01:10	1.21
@@ -571,6 +571,7 @@
         wav->bigendian =     0;
         wav->channels =      format.channels;
         wav->samplesize =    opt->samplesize;
+    wav->totalsamples =  0;
 
         opt->read_samples = wav_read;
         opt->readdata = (void *)wav;

<p><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