From a664e6d5b3e304c58da13dba109f66a19d55ab4e Mon Sep 17 00:00:00 2001 From: James Chen Date: Tue, 12 Dec 2017 17:50:57 +0800 Subject: [PATCH] Fixes missing return value of onWavClose function. (#18544) --- cocos/audio/android/AudioDecoderWav.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos/audio/android/AudioDecoderWav.cpp b/cocos/audio/android/AudioDecoderWav.cpp index 37a7ceadc3..ff3018748e 100644 --- a/cocos/audio/android/AudioDecoderWav.cpp +++ b/cocos/audio/android/AudioDecoderWav.cpp @@ -52,6 +52,7 @@ int AudioDecoderWav::onWavSeek(void* datasource, long offset, int whence) int AudioDecoderWav::onWavClose(void* datasource) { + return 0; } bool AudioDecoderWav::decodeToPcm()