summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-11-03 22:50:49 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2022-11-04 11:30:03 +0000
commit5cf46c9369a4272ef4f22b15f08c559aee710d4a (patch)
tree656f5c9a424ed938633cb4f2c69caee57ffbdade /test
parentb76c51120f4556a27092b2f107cf0e3aabf2ec16 (diff)
downloadlibnsgif-5cf46c9369a4272ef4f22b15f08c559aee710d4a.tar.gz
libnsgif-5cf46c9369a4272ef4f22b15f08c559aee710d4a.tar.bz2
Tests: Decoder: Mark the gif data complete after scanning input
Diffstat (limited to 'test')
-rw-r--r--test/nsgif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/nsgif.c b/test/nsgif.c
index 5ad9116..7d61504 100644
--- a/test/nsgif.c
+++ b/test/nsgif.c
@@ -384,6 +384,8 @@ int main(int argc, char *argv[])
warning("nsgif_data_scan", err);
}
+ nsgif_data_complete(gif);
+
if (nsgif_options.loops == 0) {
nsgif_options.loops = 1;
}