libbluray | branch: master | hpi1 <h...@anonymous.org> | Fri May 12 09:27:38 
2017 +0300| [c1f79fb0cc980981e6e61a3598f710500e9715e7] | committer: hpi1

bd_info: simplify

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

 src/examples/bd_info.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/examples/bd_info.c b/src/examples/bd_info.c
index e5a8dd8c..3ca2ada1 100644
--- a/src/examples/bd_info.c
+++ b/src/examples/bd_info.c
@@ -184,11 +184,8 @@ int main(int argc, char *argv[])
 
         printf("\nBD-J detected       : %s\n", _yes_no(info->bdj_detected));
         if (info->bdj_detected) {
-            printf("BD-J supported      : %s\n", _yes_no(info->bdj_supported));
-            if (info->bdj_supported) {
-                printf("Java VM found       : %s\n", 
_yes_no(info->libjvm_detected));
-                printf("BD-J handled        : %s\n", 
_yes_no(info->bdj_handled));
-            }
+            printf("Java VM found       : %s\n", 
_yes_no(info->libjvm_detected));
+            printf("BD-J handled        : %s\n", _yes_no(info->bdj_handled));
             printf("BD-J organization ID: %s\n", info->bdj_org_id);
             printf("BD-J disc ID        : %s\n", info->bdj_disc_id);
         }

_______________________________________________
libbluray-devel mailing list
libbluray-devel@videolan.org
https://mailman.videolan.org/listinfo/libbluray-devel

Reply via email to