REQUIREMENTS update.
[paraslash.git] / write.h
diff --git a/write.h b/write.h
index 1a3f193ddcd89369f6456a715dd56bde7650a42b..091f8c77181cbf3f1a014e31db2667b534aa5b0d 100644 (file)
--- a/write.h
+++ b/write.h
@@ -103,8 +103,6 @@ struct writer_node_group {
        size_t max_chunk_bytes;
        /** Non-zero if an error or end of file was encountered by the feeding task. */
        int *input_error;
-       /** Non-zero if an error occurred or end of file was encountered. */
-       int error;
        /** current output buffer */
        char *buf;
        /** number of bytes loaded in the output buffer */
@@ -115,6 +113,8 @@ struct writer_node_group {
        unsigned int *samplerate;
        /** the task associated to this group */
        struct task task;
+       /** Whether the group is open, i.e. wng_open() was called. */
+       int open;
 };
 
 /** loop over each writer node in a writer group */