[vlc-commits] [Git][videolan/vlc][master] decoder: fix Wmaybe-uninitialized
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Thu Apr 7 15:32:55 UTC 2022
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
45a5d291 by Thomas Guillem at 2022-04-07T15:16:47+00:00
decoder: fix Wmaybe-uninitialized
Regression from 5e6335034373bb467f87d0de00ec266ba1562c8e
No consequences since p_aout is used to check the validity of the
stream.
- - - - -
1 changed file:
- src/input/decoder.c
Changes:
=====================================
src/input/decoder.c
=====================================
@@ -393,6 +393,8 @@ static int ModuleThread_UpdateAudioFormat( decoder_t *p_dec )
p_aout = NULL;
}
}
+ else
+ p_astream = NULL;
vlc_mutex_lock( &p_owner->lock );
p_owner->p_aout = p_aout;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/45a5d2918c733196a0f5c2c671495637cbc59bf8
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/45a5d2918c733196a0f5c2c671495637cbc59bf8
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