[xiph-cvs] r6481 - branches/rel-1-0-branch/speex/src

jm at xiph.org jm at xiph.org
Tue Mar 30 20:19:10 PST 2004



Author: jm
Date: 2004-03-30 23:19:09 -0500 (Tue, 30 Mar 2004)
New Revision: 6481

Modified:
   branches/rel-1-0-branch/speex/src/speexenc.c
Log:
reverted the page flush fix (it wasn't necessary with libogg).

<p>Modified: branches/rel-1-0-branch/speex/src/speexenc.c
===================================================================
--- branches/rel-1-0-branch/speex/src/speexenc.c	2004-03-31 04:17:31 UTC (rev 6480)
+++ branches/rel-1-0-branch/speex/src/speexenc.c	2004-03-31 04:19:09 UTC (rev 6481)
@@ -549,19 +549,6 @@
       ogg_stream_packetin(&os, &op);
       free(op.packet);
 
-      while((result = ogg_stream_flush(&os, &og)))
-      {
-         if(!result) break;
-         ret = oe_write_page(&og, fout);
-         if(ret != og.header_len + og.body_len)
-         {
-            fprintf (stderr,"Error: failed writing header to output stream\n");
-            exit(1);
-         }
-         else
-            bytes_written += ret;
-      }
-
       op.packet = (unsigned char *)comments;
       op.bytes = comments_length;
       op.b_o_s = 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