[libbluray-devel] commit: Fixed bd_menu_call return value (1=success, 0=error) (hpi1 )

git at videolan.org git at videolan.org
Mon Nov 15 16:02:59 CET 2010


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Nov 15 16:47:54 2010 +0200| [2dcbd7c7644e7d34ace50e45dee3719760360e3e] | committer: hpi1 

Fixed bd_menu_call return value (1=success, 0=error)

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=2dcbd7c7644e7d34ace50e45dee3719760360e3e
---

 src/libbluray/bluray.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index f4b54f6..e79f20f 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -1688,7 +1688,7 @@ int bd_menu_call(BLURAY *bd)
 {
     if (bd->title_type == title_undef) {
         // bd_play not called
-        return -1;
+        return 0;
     }
 
     return bd_play_title(bd, TITLE_TOP_MENU);



More information about the libbluray-devel mailing list