[libdvdnav-devel] [PATCH 32/33] Use correct variable name

beandog at gentoo.org beandog at gentoo.org
Thu Jan 15 21:45:44 CET 2015


From: Steve Dibb <steve.dibb at gmail.com>

---
 src/ifo_read.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ifo_read.c b/src/ifo_read.c
index 38ab6dc..b8cbba3 100644
--- a/src/ifo_read.c
+++ b/src/ifo_read.c
@@ -2079,7 +2079,7 @@ int ifoRead_PGCI_UT(ifo_handle_t *ifofile) {
       unsigned int j, k;
       for(j = 0; j < i; j++) {
         if(pgci_ut->lu[j].pgcit->pgci_srp) {
-          for(k = 0; i < pgci_ut->lu[j].pgcit->nr_of_pgci_srp; k++) {
+          for(k = 0; k < pgci_ut->lu[j].pgcit->nr_of_pgci_srp; k++) {
 	    ifoFree_PGC(pgci_ut->lu[j].pgcit->pgci_srp[k].pgc);
           }
 	  free(pgci_ut->lu[j].pgcit->pgci_srp);
-- 
2.0.4



More information about the libdvdnav-devel mailing list