[vlc-commits] wasapi: fix fallthrough warnings
Rémi Denis-Courmont
git at videolan.org
Sun Apr 14 09:05:41 CEST 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 14 09:55:13 2019 +0300| [6798b99723bc6e7a2122a4b5c78b681a39160188] | committer: Rémi Denis-Courmont
wasapi: fix fallthrough warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6798b99723bc6e7a2122a4b5c78b681a39160188
---
modules/audio_output/wasapi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/audio_output/wasapi.c b/modules/audio_output/wasapi.c
index 74d5239bd7..03ba2a46ea 100644
--- a/modules/audio_output/wasapi.c
+++ b/modules/audio_output/wasapi.c
@@ -350,12 +350,14 @@ static void vlc_ToWave(WAVEFORMATEXTENSIBLE *restrict wf,
{
case VLC_CODEC_FL64:
audio->i_format = VLC_CODEC_FL32;
+ /* fall through */
case VLC_CODEC_FL32:
wf->SubFormat = KSDATAFORMAT_SUBTYPE_IEEE_FLOAT;
break;
case VLC_CODEC_U8:
audio->i_format = VLC_CODEC_S16N;
+ /* fall through */
case VLC_CODEC_S16N:
wf->SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
break;
More information about the vlc-commits
mailing list