diff --git a/cocos/audio/include/AudioDecoderOgg.h b/cocos/audio/include/AudioDecoderOgg.h index f837e3ffc4..080c1a81d9 100644 --- a/cocos/audio/include/AudioDecoderOgg.h +++ b/cocos/audio/include/AudioDecoderOgg.h @@ -68,7 +68,7 @@ protected: AudioDecoderOgg(); ~AudioDecoderOgg(); - FileStream* _fileStream; + FileStream* _fileStream = nullptr; OggVorbis_File _vf; friend class AudioDecoderManager;