[libbluray-devel] [PATCH] rename a variable as it shadows a global definition

Sean McGovern gseanmcg at gmail.com
Thu Sep 12 05:22:17 CEST 2013


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

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index b6f432d..928ab87 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -482,9 +482,9 @@ static void _update_textst_timer(BLURAY *bd)
 static void _init_textst_timer(BLURAY *bd)
 {
     if (bd->st_textst.clip) {
-        uint32_t time;
-        clpi_access_point(bd->st0.clip->cl, bd->st0.clip_block_pos/192, /*next=*/0, /*angle_change=*/0, &time);
-        bd->gc_wakeup_time = time;
+        uint32_t clip_time;
+        clpi_access_point(bd->st0.clip->cl, bd->st0.clip_block_pos/192, /*next=*/0, /*angle_change=*/0, &clip_time);
+        bd->gc_wakeup_time = clip_time;
         bd->gc_wakeup_pos = 0;
         _update_textst_timer(bd);
     }
-- 
1.7.9.2



More information about the libbluray-devel mailing list