[libbluray-devel] Fixed problems with enum

hpi1 git at videolan.org
Tue Jun 18 09:03:55 CEST 2013


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Jun 18 10:03:23 2013 +0300| [296ed4be4e487921ac643d8cab5d502c5fb49850] | committer: hpi1

Fixed problems with enum

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

 src/libbluray/bluray.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 426d9a1..2502b5e 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -395,7 +395,7 @@ static void _update_chapter_psr(BLURAY *bd)
  * PG
  */
 
-static int _find_pg_stream(BLURAY *bd, uint16_t *pid, int *sub_path_idx, bd_char_code_e *char_code)
+static int _find_pg_stream(BLURAY *bd, uint16_t *pid, int *sub_path_idx, uint8_t *char_code)
 {
     MPLS_PI  *pi        = &bd->title->pl->play_item[0];
     unsigned  pg_stream = bd_psr_read(bd->regs, PSR_PG_STREAM);
@@ -1973,7 +1973,7 @@ int bd_read_skip_still(BLURAY *bd)
 
 static int _preload_textst_subpath(BLURAY *bd)
 {
-    bd_char_code_e char_code = BLURAY_TEXT_CHAR_CODE_UTF8;
+    uint8_t        char_code      = BLURAY_TEXT_CHAR_CODE_UTF8;
     int            textst_subpath = -1;
     uint16_t       textst_pid     = 0;
     unsigned       ii;



More information about the libbluray-devel mailing list