[xiph-commits] r3324 - liboggz/trunk/src/liboggz

conrad at svn.annodex.net conrad at svn.annodex.net
Wed Jan 9 01:03:09 PST 2008


Author: conrad
Date: 2008-01-09 01:03:09 -0800 (Wed, 09 Jan 2008)
New Revision: 3324

Modified:
   liboggz/trunk/src/liboggz/oggz_write.c
Log:
Update oggz_write_output to handle asynchronous feeding of packets and writing


Modified: liboggz/trunk/src/liboggz/oggz_write.c
===================================================================
--- liboggz/trunk/src/liboggz/oggz_write.c	2008-01-09 08:58:29 UTC (rev 3323)
+++ liboggz/trunk/src/liboggz/oggz_write.c	2008-01-09 09:03:09 UTC (rev 3324)
@@ -704,6 +704,14 @@
       }
       if (oggz_page_init (oggz)) {
         writer->state = OGGZ_WRITING_PAGES;
+      } else {
+#ifdef DEBUG
+        printf ("oggz_write_output: unable to make page...\n");
+#endif
+        if (writer->no_more_packets) {
+          active = 0;
+          break;
+        }
       }
     }
 



More information about the commits mailing list