]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - ao_write.c
paraslash 0.4.10
[paraslash.git] / ao_write.c
index 307588f994c02a7dcd8e0db29da3d2666dfcad71..6dc3192ccb710b12148bfc7a6417de3f07efd59c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2011-2012 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -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");