[libbluray-devel] Avoid calculations with uninitialized data
hpi1
git at videolan.org
Mon Aug 25 13:06:37 CEST 2014
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Aug 25 14:00:42 2014 +0300| [369392d6ed137ee2c390ee0b33e2bad831e2d65c] | committer: hpi1
Avoid calculations with uninitialized data
(result is not used anywhere, but this may change later)
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=369392d6ed137ee2c390ee0b33e2bad831e2d65c
---
src/libbluray/bdnav/navigation.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/libbluray/bdnav/navigation.c b/src/libbluray/bdnav/navigation.c
index f6371c2..a0b9c23 100644
--- a/src/libbluray/bdnav/navigation.c
+++ b/src/libbluray/bdnav/navigation.c
@@ -639,6 +639,7 @@ NAV_CLIP* nav_packet_search(NAV_TITLE *title, uint32_t pkt, uint32_t *clip_pkt,
NAV_CLIP *clip;
unsigned ii;
+ *out_time = 0;
pos = 0;
for (ii = 0; ii < title->pl->list_count; ii++) {
clip = &title->clip_list.clip[ii];
More information about the libbluray-devel
mailing list