integrate writers into para_audiod
[paraslash.git] / aacdec.c
index e07c146..fe046b7 100644 (file)
--- a/aacdec.c
+++ b/aacdec.c
@@ -25,6 +25,7 @@
 #include "para.h"
 
 #include "list.h"
+#include "sched.h"
 #include "filter.h"
 #include "error.h"
 #include "string.h"
@@ -60,7 +61,7 @@ static ssize_t aacdec(char *input_buffer, size_t len, struct filter_node *fn)
 
        if (fn->loaded > fn->bufsize * 4 / 5)
                return 0;
-       if (len < 1000 && !*fc->eof)
+       if (len < 1000 && !*fc->input_eof)
                return 0;
 
        if (!padd->initialized) {