[MPlayer-cvslog] r37774 - trunk/stream/stream_dvdnav.c
reimar
subversion at mplayerhq.hu
Sat Feb 20 14:21:49 CET 2016
Author: reimar
Date: Sat Feb 20 14:21:49 2016
New Revision: 37774
Log:
stream_dvdnav: check dvdnav_current_title_info return value.
Modified:
trunk/stream/stream_dvdnav.c
Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c Sat Feb 20 14:19:24 2016 (r37773)
+++ trunk/stream/stream_dvdnav.c Sat Feb 20 14:21:49 2016 (r37774)
@@ -668,8 +668,7 @@ void mp_dvdnav_handle_input(stream_t *st
case MP_CMD_DVDNAV_PREVMENU: {
int title=0, part=0;
- dvdnav_current_title_info(nav, &title, &part);
- if(title) {
+ if(dvdnav_current_title_info(nav, &title, &part) == DVDNAV_STATUS_OK && title) {
if((status=dvdnav_menu_call(nav, DVD_MENU_Part)) == DVDNAV_STATUS_OK)
break;
}
More information about the MPlayer-cvslog
mailing list