[libbluray-devel] Support 0240 MPLS and CLPI signatures

Hendrik Leppkes git at videolan.org
Sun Sep 2 17:27:28 CEST 2018


libbluray | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Tue Nov 25 11:57:51 2014 +0100| [1af7f26717a8a2283df5daf73759e98080c4664a] | committer: hpi1

Support 0240 MPLS and CLPI signatures

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

 src/libbluray/bdnav/bdmv_parse.c | 1 +
 src/libbluray/bdnav/bdmv_parse.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/libbluray/bdnav/bdmv_parse.c b/src/libbluray/bdnav/bdmv_parse.c
index e298ca3b..2c310aa1 100644
--- a/src/libbluray/bdnav/bdmv_parse.c
+++ b/src/libbluray/bdnav/bdmv_parse.c
@@ -59,6 +59,7 @@ int bdmv_parse_header(BITSTREAM *bs, uint32_t type, uint32_t *version)
     switch (ver) {
         case BDMV_VERSION_0100:
         case BDMV_VERSION_0200:
+        case BDMV_VERSION_0240:
         case BDMV_VERSION_0300:
             break;
         default:
diff --git a/src/libbluray/bdnav/bdmv_parse.h b/src/libbluray/bdnav/bdmv_parse.h
index 8f953a3d..9dbbed56 100644
--- a/src/libbluray/bdnav/bdmv_parse.h
+++ b/src/libbluray/bdnav/bdmv_parse.h
@@ -27,6 +27,7 @@
 
 #define BDMV_VERSION_0100 ('0' << 24 | '1' << 16 | '0' << 8 | '0')
 #define BDMV_VERSION_0200 ('0' << 24 | '2' << 16 | '0' << 8 | '0')
+#define BDMV_VERSION_0240 ('0' << 24 | '2' << 16 | '4' << 8 | '0')
 #define BDMV_VERSION_0300 ('0' << 24 | '3' << 16 | '0' << 8 | '0')
 
 BD_PRIVATE int bdmv_parse_header(BITSTREAM *bs, uint32_t type, uint32_t *version);



More information about the libbluray-devel mailing list