]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - ao_write.c
Always include stdbool.h.
[paraslash.git] / ao_write.c
index 307588f994c02a7dcd8e0db29da3d2666dfcad71..d36a53ab90db2fcfd24845e98671690330597509 100644 (file)
@@ -9,7 +9,6 @@
 #include <pthread.h>
 #include <ao/ao.h>
 #include <regex.h>
-#include <stdbool.h>
 
 #include "para.h"
 #include "fd.h"
@@ -210,7 +209,7 @@ __noreturn static void *aow_play(void *priv)
                                if (frames > 0)
                                        break;
                                /* eof and less than a single frame available */
-                               ret = -E_AO_EOF;
+                               ret = -E_WRITE_COMMON_EOF;
                                goto unlock;
                        }
                        //PARA_CRIT_LOG("waiting for data\n");