X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ao_write.c;h=6dc3192ccb710b12148bfc7a6417de3f07efd59c;hp=307588f994c02a7dcd8e0db29da3d2666dfcad71;hb=b55f405f8005821ffa369b929bc0b419da62683d;hpb=3fe80106bf0dc11987be660db2a39f2cc0a692a4 diff --git a/ao_write.c b/ao_write.c index 307588f9..6dc3192c 100644 --- a/ao_write.c +++ b/ao_write.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 Andre Noll + * Copyright (C) 2011-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -9,7 +9,6 @@ #include #include #include -#include #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");