[vlc-commits] vout: android: fix switch warning
    Thomas Guillem 
    git at videolan.org
       
    Mon Dec  2 13:43:17 CET 2019
    
    
  
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Nov 20 17:22:48 2019 +0100| [dc4f7e01d7382e2bfb2592739004e6fc77582888] | committer: Steve Lhomme
vout: android: fix switch warning
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dc4f7e01d7382e2bfb2592739004e6fc77582888
---
 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 18a4cd425d..1ca04e829c 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;
    
    
More information about the vlc-commits
mailing list