[libbluray-devel] mpls_dump: removed nav_find_main_title() call

hpi1 git at videolan.org
Mon Oct 14 10:06:08 CEST 2013


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Oct 14 10:42:34 2013 +0300| [02f87179be8a00112af172e1d25026c36971fe47] | committer: hpi1

mpls_dump: removed nav_find_main_title() call

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

 src/Makefile.am          |    1 -
 src/examples/mpls_dump.c |   10 ----------
 2 files changed, 11 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index a760e66..1436a85 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -210,7 +210,6 @@ mpls_dump_SOURCES = \
 	libbluray/bdnav/clpi_parse.c \
 	libbluray/bdnav/extdata_parse.c \
 	libbluray/bdnav/mpls_parse.c \
-	libbluray/bdnav/navigation.c \
 	util/bits.c \
 	util/logging.c \
 	util/strutl.c
diff --git a/src/examples/mpls_dump.c b/src/examples/mpls_dump.c
index 4942586..69ca424 100644
--- a/src/examples/mpls_dump.c
+++ b/src/examples/mpls_dump.c
@@ -28,7 +28,6 @@
 #include "util/strutl.h"
 
 #include "libbluray/bdnav/mpls_parse.h"
-#include "libbluray/bdnav/navigation.h"
 
 #include "util.h"
 
@@ -691,8 +690,6 @@ main(int argc, char *argv[])
         dir = NULL;
         if (S_ISDIR(st.st_mode)) {
 
-            char *main_title = NULL;
-
             printf("Directory: %s:\n", argv[ii]);
             path = str_printf("%s/BDMV/PLAYLIST", argv[ii]);
             if (path == NULL) {
@@ -705,13 +702,6 @@ main(int argc, char *argv[])
                 free(path);
                 continue;
             }
-            main_title = nav_find_main_title(argv[ii]);
-            if (main_title != NULL) {
-                printf("Main Title: %s\n", main_title);
-                free(main_title);
-            } else {
-                fprintf(stderr, "Main title search failed\n");
-            }
         }
         if (dir != NULL) {
             char **dirlist = calloc(10001, sizeof(char*));



More information about the libbluray-devel mailing list