aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutput_ao.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audioOutput_ao.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/audioOutput_ao.c b/src/audioOutput_ao.c
index e904de322..e328c1bb4 100644
--- a/src/audioOutput_ao.c
+++ b/src/audioOutput_ao.c
@@ -212,10 +212,7 @@ static int audioOutputAo_play(AudioOutput * audioOutput, char * playChunk,
int send;
AoData * ad = (AoData *)audioOutput->data;
- if(ad->device==NULL) {
- ERROR("trying to play w/o the ao device being open!\n");
- return -1;
- }
+ if(ad->device==NULL) return -1;
while(size>0) {
send = ad->writeSize > size ? size : ad->writeSize;