X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=aacdec.c;h=fe046b705e3d632304d9ba5ac4f5c6e77713f8e7;hp=e07c146e89289585f7eb20fbdb9a2ccf79fc0c3f;hb=633f7c0f0194cd8ec3a478d820f55dd6a752d915;hpb=607ac63646d7c31aa1792dcf1d9a60e498654376 diff --git a/aacdec.c b/aacdec.c index e07c146e..fe046b70 100644 --- 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) {