From 0685488cb9329e874ac4a59dd0dde993e51ee876 Mon Sep 17 00:00:00 2001 From: Thomas Guillem Date: Fri, 21 Oct 2016 09:40:13 +0200 Subject: [PATCH] audiotrack: default case can't happen here --- modules/audio_output/audiotrack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/audio_output/audiotrack.c b/modules/audio_output/audiotrack.c index 6c21bb5f22..d0b598bf43 100644 --- a/modules/audio_output/audiotrack.c +++ b/modules/audio_output/audiotrack.c @@ -876,10 +876,11 @@ AudioTrack_Create( JNIEnv *env, audio_output_t *p_aout, case AOUT_CHAN_LEFT: i_channel_config = jfields.AudioFormat.CHANNEL_OUT_MONO; break; - default: case AOUT_CHANS_STEREO: i_channel_config = jfields.AudioFormat.CHANNEL_OUT_STEREO; break; + default: + vlc_assert_unreachable(); } i_min_buffer_size = JNI_AT_CALL_STATIC_INT( getMinBufferSize, i_rate, -- 2.11.4.GIT