[vlc-commits] opensles_android: Fix potential use of uninitialized values
Hugo Beauzée-Luyssen
git at videolan.org
Tue Sep 26 15:47:10 CEST 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Sep 26 14:52:00 2017 +0200| [43f4b269311df662da74f51a640aea88f48c1876] | committer: Hugo Beauzée-Luyssen
opensles_android: Fix potential use of uninitialized values
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=43f4b269311df662da74f51a640aea88f48c1876
---
modules/audio_output/opensles_android.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/audio_output/opensles_android.c b/modules/audio_output/opensles_android.c
index d45a96336a..b8221b6b17 100644
--- a/modules/audio_output/opensles_android.c
+++ b/modules/audio_output/opensles_android.c
@@ -487,6 +487,9 @@ error:
if (sys->playerObject) {
Destroy(sys->playerObject);
sys->playerObject = NULL;
+ sys->playerBufferQueue = NULL;
+ sys->volumeItf = NULL;
+ sys->playerPlay = NULL;
}
return VLC_EGENERIC;
More information about the vlc-commits
mailing list