[libbluray-devel] commit: Fixed bug in _show_sub_paths() (hpi1 )

git at videolan.org git at videolan.org
Mon Aug 23 23:56:15 CEST 2010


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Aug 24 00:55:18 2010 +0300| [e12b2a5ddc73e99370d7ad89823e478efc109e35] | committer: hpi1 

Fixed bug in _show_sub_paths()

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

 src/examples/mpls_dump.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/examples/mpls_dump.c b/src/examples/mpls_dump.c
index 95ee591..06c8edb 100644
--- a/src/examples/mpls_dump.c
+++ b/src/examples/mpls_dump.c
@@ -329,7 +329,7 @@ _show_sub_paths(MPLS_PL *pl, int level)
     for (ss = 0; ss < pl->sub_count; ss++) {
         MPLS_SUB *sub;
 
-        sub = &pl->sub_path[ii];
+        sub = &pl->sub_path[ss];
 
         indent_printf(level,   "Sub Path %d:", ss);
         indent_printf(level+1, "Type: %d (%s)", sub->type, _lookup_str(subpath_type_map, sub->type));



More information about the libbluray-devel mailing list