[libbluray-devel] Move meta data default language to meta_parse.c
hpi1
git at videolan.org
Tue Jan 27 09:34:42 CET 2015
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Jan 7 14:27:08 2015 +0200| [3453e6ac84d34277bb6a05531ffacd2fd27057e8] | committer: hpi1
Move meta data default language to meta_parse.c
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=3453e6ac84d34277bb6a05531ffacd2fd27057e8
---
src/libbluray/bdnav/meta_parse.c | 4 +++-
src/libbluray/register.h | 2 --
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/libbluray/bdnav/meta_parse.c b/src/libbluray/bdnav/meta_parse.c
index a74ed6e..0eca8cb 100644
--- a/src/libbluray/bdnav/meta_parse.c
+++ b/src/libbluray/bdnav/meta_parse.c
@@ -27,7 +27,6 @@
#include "util/macro.h"
#include "util/strutl.h"
#include "meta_parse.h"
-#include "libbluray/register.h"
#include <stdlib.h>
#include <string.h>
@@ -43,6 +42,9 @@
#include <libxml/tree.h>
#endif
+#define DEFAULT_LANGUAGE "eng"
+
+
#define BAD_CAST_CONST (const xmlChar *)
#define XML_FREE(p) (xmlFree(p), p = NULL)
diff --git a/src/libbluray/register.h b/src/libbluray/register.h
index b145755..3293385 100644
--- a/src/libbluray/register.h
+++ b/src/libbluray/register.h
@@ -68,8 +68,6 @@ typedef enum {
/* 48-61: caps for characteristic text subtitle */
} bd_psr_idx;
-#define DEFAULT_LANGUAGE "eng"
-
typedef struct bd_registers_s BD_REGISTERS;
More information about the libbluray-devel
mailing list