[fix] - eof in bxacodec - thx to team boxee
authorMemphiz <memphis@machzwo.de>
Sat, 22 Oct 2011 15:08:15 +0000 (17:08 +0200)
committerMemphiz <memphis@machzwo.de>
Sat, 22 Oct 2011 15:08:15 +0000 (17:08 +0200)
xbmc/cores/paplayer/BXAcodec.cpp

index bef5cf1..d3c8faf 100644 (file)
@@ -102,7 +102,8 @@ int BXACodec::ReadPCM(BYTE *pBuffer, int size, int *actualsize)
     return READ_SUCCESS;
   }
 
-  return READ_ERROR;
+  *actualsize = 0;
+  return READ_EOF;
 }
 
 bool BXACodec::CanInit()