Android: OpenSLES, explicitly initialise the global variable 'bqPlayerPlay',

it may be read even if OpenSLES back-end hasn't been intialized
This commit is contained in:
Sylvain committed 2021-04-15 20:52:43 +02:00
1 parent babd79b8ef
commit 4118fe62fe
1 file changed
+1 -1
+1 -1
View File
@@ -83,7 +83,7 @@ static SLObjectItf outputMixObject;
/* buffer queue player interfaces */
static SLObjectItf bqPlayerObject;
static SLPlayItf bqPlayerPlay;
static SLPlayItf bqPlayerPlay = NULL;
static SLAndroidSimpleBufferQueueItf bqPlayerBufferQueue;
#if 0
static SLVolumeItf bqPlayerVolume;