X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=write.h;h=091f8c77181cbf3f1a014e31db2667b534aa5b0d;hp=1a3f193ddcd89369f6456a715dd56bde7650a42b;hb=4a562d17319e990f75ea3bbf5f3e25bfe0aafba7;hpb=c8862b9e246b4ef6ff1fe103946e18cf2537ecde diff --git a/write.h b/write.h index 1a3f193d..091f8c77 100644 --- 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 */