[libbluray-devel] bdnav: avoid warnings on known but unimplemented extension data
hpi1
git at videolan.org
Sun May 4 16:52:26 CEST 2014
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Apr 29 12:47:21 2014 +0300| [ead57f7a93eeec80ac9d526b60a6cdc55ec59dad] | committer: hpi1
bdnav: avoid warnings on known but unimplemented extension data
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=ead57f7a93eeec80ac9d526b60a6cdc55ec59dad
---
src/libbluray/bdnav/clpi_parse.c | 8 ++++++++
src/libbluray/bdnav/mpls_parse.c | 3 +++
2 files changed, 11 insertions(+)
diff --git a/src/libbluray/bdnav/clpi_parse.c b/src/libbluray/bdnav/clpi_parse.c
index d87628c..a6588b4 100644
--- a/src/libbluray/bdnav/clpi_parse.c
+++ b/src/libbluray/bdnav/clpi_parse.c
@@ -586,6 +586,14 @@ static int _parse_clpi_extension(BITSTREAM *bits, int id1, int id2, void *handle
{
CLPI_CL *cl = (CLPI_CL*)handle;
+ if (id1 == 1) {
+ if (id2 == 2) {
+ // LPCM down mix coefficient
+ //_parse_lpcm_down_mix_coeff(bits, &cl->lpcm_down_mix_coeff);
+ return 0;
+ }
+ }
+
if (id1 == 2) {
if (id2 == 4) {
// Extent start point
diff --git a/src/libbluray/bdnav/mpls_parse.c b/src/libbluray/bdnav/mpls_parse.c
index 7db2e08..80f7f51 100644
--- a/src/libbluray/bdnav/mpls_parse.c
+++ b/src/libbluray/bdnav/mpls_parse.c
@@ -894,6 +894,9 @@ _parse_mpls_extension(BITSTREAM *bits, int id1, int id2, void *handle)
}
if (id1 == 2) {
+ if (id2 == 1) {
+ return 0;
+ }
if (id2 == 2) {
// SubPath entries extension
return _parse_subpath_extension(bits, pl);
More information about the libbluray-devel
mailing list