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

Sean McGovern git at videolan.org
Tue Sep 17 08:57:18 CEST 2013


libbluray | branch: master | Sean McGovern <gseanmcg at gmail.com> | Wed Sep 11 23:22:17 2013 -0400| [86227e2860c871e0a2e8d287b75559df8ccc0567] | committer: npzacs

rename a variable as it shadows a global definition

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

 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);
     }



More information about the libbluray-devel mailing list