diff options
-rw-r--r-- | test/nsgif.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/nsgif.c b/test/nsgif.c index 6abd985..4a9e31c 100644 --- a/test/nsgif.c +++ b/test/nsgif.c @@ -391,6 +391,9 @@ int main(int argc, char *argv[]) for (uint64_t i = 0; i < nsgif_options.loops; i++) { decode(ppm, nsgif_options.file, gif, i == 0); + + /* We want to ignore any loop limit in the GIF. */ + nsgif_reset(gif); } if (ppm != NULL) { |