File libdvdnav-no-return.patch of Package kodi-next

--- src/vm/vmget.c.orig	2017-02-27 22:43:29.493007671 +0200
+++ src/vm/vmget.c	2017-02-27 22:46:49.717611551 +0200
@@ -311,6 +311,7 @@
 }
 
 video_attr_t vm_get_video_attr(vm_t *vm) {
+  video_attr_t empty = {0,};
   switch ((vm->state).domain) {
   case DVD_DOMAIN_VTSTitle:
     return vm->vtsi->vtsi_mat->vts_video_attr;
@@ -322,9 +323,11 @@
   default:
     assert(0);
   }
+  return empty;
 }
 
 audio_attr_t vm_get_audio_attr(vm_t *vm, int streamN) {
+  audio_attr_t empty = {0,};
   switch ((vm->state).domain) {
   case DVD_DOMAIN_VTSTitle:
     return vm->vtsi->vtsi_mat->vts_audio_attr[streamN];
@@ -336,9 +339,11 @@
   default:
     assert(0);
   }
+  return empty;
 }
 
 subp_attr_t vm_get_subp_attr(vm_t *vm, int streamN) {
+  subp_attr_t empty = {0,};
   switch ((vm->state).domain) {
   case DVD_DOMAIN_VTSTitle:
     return vm->vtsi->vtsi_mat->vts_subp_attr[streamN];
@@ -350,4 +355,5 @@
   default:
     assert(0);
   }
+  return empty;
 }