[libbluray-devel] Use char as type for char strings
hpi1
git at videolan.org
Tue Oct 28 14:26:01 CET 2014
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Oct 27 12:05:28 2014 +0200| [6503d177ae61a5d4477ae0fe46236ed0ecb1b51b] | committer: hpi1
Use char as type for char strings
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=6503d177ae61a5d4477ae0fe46236ed0ecb1b51b
---
src/libbluray/bdnav/clpi_data.h | 10 +++++-----
src/libbluray/bdnav/mpls_parse.h | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/libbluray/bdnav/clpi_data.h b/src/libbluray/bdnav/clpi_data.h
index e3fc4c8..8d50956 100644
--- a/src/libbluray/bdnav/clpi_data.h
+++ b/src/libbluray/bdnav/clpi_data.h
@@ -48,18 +48,18 @@ typedef struct
typedef struct
{
uint8_t validity;
- uint8_t format_id[5];
+ char format_id[5];
} CLPI_TS_TYPE;
typedef struct
{
uint32_t delta;
- uint8_t file_id[6];
- uint8_t file_code[5];
+ char file_id[6];
+ char file_code[5];
} CLPI_ATC_DELTA;
typedef struct {
- uint8_t file_id[6];
+ char file_id[6];
} CLPI_FONT;
typedef struct {
@@ -92,7 +92,7 @@ typedef struct
uint8_t aspect;
uint8_t oc_flag;
uint8_t char_code;
- uint8_t lang[4];
+ char lang[4];
} CLPI_PROG_STREAM;
typedef struct
diff --git a/src/libbluray/bdnav/mpls_parse.h b/src/libbluray/bdnav/mpls_parse.h
index c34e575..fbce590 100644
--- a/src/libbluray/bdnav/mpls_parse.h
+++ b/src/libbluray/bdnav/mpls_parse.h
@@ -40,7 +40,7 @@ typedef struct
uint8_t format;
uint8_t rate;
uint8_t char_code;
- uint8_t lang[4];
+ char lang[4];
// Secondary audio specific fields
uint8_t sa_num_primary_audio_ref;
uint8_t *sa_primary_audio_ref;
More information about the libbluray-devel
mailing list