[vlc-commits] [Git][videolan/vlc][master] android_device: add missing initialisation
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Sun Mar 12 09:26:37 UTC 2023
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
371e18c1 by Thomas Guillem at 2023-03-12T09:11:38+00:00
android_device: add missing initialisation
Fixes a crash when setting volume/device if no stream were started.
- - - - -
1 changed file:
- modules/audio_output/android/device.c
Changes:
=====================================
modules/audio_output/android/device.c
=====================================
@@ -276,6 +276,7 @@ Open(vlc_object_t *obj)
sys->encoding_flags = 0;
sys->volume = 1.f;
sys->mute = false;
+ sys->stream = NULL;
aout->start = Start;
aout->stop = Stop;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/371e18c1703c4e201ef9b586d8c1df31bd9b92bb
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/371e18c1703c4e201ef9b586d8c1df31bd9b92bb
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list