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 2021-04-15 20:52:43 +02:00
parent babd79b8ef
commit 4118fe62fe
No known key found for this signature in database
GPG key ID: 5F87E02E5BC0939E

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;