Projects
Multimedia
kodi
libdvdnav-no-return.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libdvdnav-no-return.patch of Package kodi (Revision 34)
Currently displaying revision
34
,
Show latest
--- 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; }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.