From 5cf46c9369a4272ef4f22b15f08c559aee710d4a Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 3 Nov 2022 22:50:49 +0000 Subject: Tests: Decoder: Mark the gif data complete after scanning input --- test/nsgif.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.1