diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2022-11-03 22:50:49 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2022-11-04 11:30:03 +0000 |
commit | 5cf46c9369a4272ef4f22b15f08c559aee710d4a (patch) | |
tree | 656f5c9a424ed938633cb4f2c69caee57ffbdade | |
parent | b76c51120f4556a27092b2f107cf0e3aabf2ec16 (diff) | |
download | libnsgif-5cf46c9369a4272ef4f22b15f08c559aee710d4a.tar.gz libnsgif-5cf46c9369a4272ef4f22b15f08c559aee710d4a.tar.bz2 |
Tests: Decoder: Mark the gif data complete after scanning input
-rw-r--r-- | test/nsgif.c | 2 |
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; } |