[libbluray-devel] id.bdmv: log unknown extension data

hpi1 git at videolan.org
Wed Aug 30 08:49:32 CEST 2017


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Aug 28 19:03:27 2017 +0300| [95e0b06365a42847cb69b9c2ff04484ca0f3c3c0] | committer: hpi1

id.bdmv: log unknown extension data

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

 src/libbluray/bdnav/bdid_parse.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/libbluray/bdnav/bdid_parse.c b/src/libbluray/bdnav/bdid_parse.c
index 50d18f2f..dc90ea4f 100644
--- a/src/libbluray/bdnav/bdid_parse.c
+++ b/src/libbluray/bdnav/bdid_parse.c
@@ -1,6 +1,6 @@
 /*
  * This file is part of libbluray
- * Copyright (C) 2012  Petri Hintukainen <phintuka at users.sourceforge.net>
+ * Copyright (C) 2012-2017  Petri Hintukainen <phintuka at users.sourceforge.net>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -96,6 +96,10 @@ static BDID_DATA *_bdid_parse(BD_FILE_H *fp)
     bs_read_bytes(&bs, tmp, 16);
     str_print_hex(bdid->disc_id, tmp, 16);
 
+    if (extension_data_start) {
+        BD_DEBUG(DBG_NAV | DBG_CRIT, "id.bdmv: ignoring unknown extension data\n");
+    }
+
     return bdid;
 }
 



More information about the libbluray-devel mailing list