File silence-return-type.patch of Package MakeMKV

diff -rup makemkv-oss-1.17.0.orig/mmgpl/dvdnav/vm/vmget.c makemkv-oss-1.17.0/mmgpl/dvdnav/vm/vmget.c
--- makemkv-oss-1.17.0.orig/mmgpl/dvdnav/vm/vmget.c	2022-06-28 10:12:22.384481339 +0200
+++ makemkv-oss-1.17.0/mmgpl/dvdnav/vm/vmget.c	2022-06-28 10:16:08.024416824 +0200
@@ -311,6 +311,8 @@ int vm_get_video_scale_permission(vm_t *
 }
 
 video_attr_t vm_get_video_attr(vm_t *vm) {
+  static video_attr_t not_actually_used = { 0 };
+
   switch ((vm->state).domain) {
   case DVD_DOMAIN_VTSTitle:
     return vm->vtsi->vtsi_mat->vts_video_attr;
@@ -322,9 +324,12 @@ video_attr_t vm_get_video_attr(vm_t *vm)
   default:
     vassert(0);
   }
+  return not_actually_used; /* NOT REACHED */
 }
 
 audio_attr_t vm_get_audio_attr(vm_t *vm, int streamN) {
+  static audio_attr_t not_actually_used = { 0 };
+
   switch ((vm->state).domain) {
   case DVD_DOMAIN_VTSTitle:
     return vm->vtsi->vtsi_mat->vts_audio_attr[streamN];
@@ -336,9 +341,12 @@ audio_attr_t vm_get_audio_attr(vm_t *vm,
   default:
     vassert(0);
   }
+  return not_actually_used; /* NOT REACHED */
 }
 
 subp_attr_t vm_get_subp_attr(vm_t *vm, int streamN) {
+  static subp_attr_t not_actually_used = { 0 };
+
   switch ((vm->state).domain) {
   case DVD_DOMAIN_VTSTitle:
     return vm->vtsi->vtsi_mat->vts_subp_attr[streamN];
@@ -350,4 +358,5 @@ subp_attr_t vm_get_subp_attr(vm_t *vm, i
   default:
     vassert(0);
   }
+  return not_actually_used; /* NOT REACHED */
 }