[vlc-devel] [PATCH 5/5] vout: android: fix switch warning
Thomas Guillem
thomas at gllm.fr
Thu Nov 21 15:30:52 CET 2019
---
modules/video_output/android/utils.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/video_output/android/utils.c b/modules/video_output/android/utils.c
index 18a4cd425d9..1ca04e829c6 100644
--- a/modules/video_output/android/utils.c
+++ b/modules/video_output/android/utils.c
@@ -617,6 +617,8 @@ WindowHandler_NewSurfaceEnv(AWindowHandler *p_awh, JNIEnv *p_env,
case AWindow_SurfaceTexture:
jsurface = JNI_STEXCALL(CallObjectMethod, getSurface);
break;
+ default:
+ vlc_assert_unreachable();
}
if (!jsurface)
return VLC_EGENERIC;
--
2.20.1
More information about the vlc-devel
mailing list