[vlc-commits] [Git][videolan/vlc][master] pipewire: initialize stream variable

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Jul 16 09:19:22 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
30fbe5f3 by Thomas Guillem at 2025-07-16T08:51:48+00:00
pipewire: initialize stream variable

Fixes SEGV when controlling the aout (mute, volume) before being started.
Fixes #29211

- - - - -


1 changed file:

- modules/audio_output/pipewire.c


Changes:

=====================================
modules/audio_output/pipewire.c
=====================================
@@ -895,6 +895,7 @@ static int Open(vlc_object_t *obj)
     sys->initial.volume = NAN;
     sys->initial.mute = -1;
     sys->nodes = NULL;
+    sys->stream = NULL;
 
     aout->sys = sys;
     aout->start = Start;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/30fbe5f3f6be7d0d066c861c6d051d8ccdef5048

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/30fbe5f3f6be7d0d066c861c6d051d8ccdef5048
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