changeset 247:190121a34b3b

TIFFS IVA: treewalk_all(): smarter handling of multiple parents
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 27 Jan 2014 06:42:03 +0000
parents 872d92404b6a
children 10afa4d39a7b
files ffstools/tiffs-rd/tree.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ffstools/tiffs-rd/tree.c	Mon Jan 27 05:08:09 2014 +0000
+++ b/ffstools/tiffs-rd/tree.c	Mon Jan 27 06:42:03 2014 +0000
@@ -195,7 +195,8 @@
 				child, parent);
 			return;
 		}
-		treewalk_all_node(child);
+		if (inf->nparents == 1)
+			treewalk_all_node(child);
 	}
 }