about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other')
-rw-r--r--converter/other/giftopnm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/converter/other/giftopnm.c b/converter/other/giftopnm.c
index abfdb0ba..7d517aad 100644
--- a/converter/other/giftopnm.c
+++ b/converter/other/giftopnm.c
@@ -1218,6 +1218,7 @@ lzwReadByte(struct decompressor * const decompP,
                         *endOfImageP = TRUE;
                         *errorP = NULL;
                     } else {
+                        *endOfImageP = FALSE;
                         expandCodeOntoStack(decompP, code, errorP);
                         if (!*errorP)
                             *dataReadP = popStack(&decompP->stack);