summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-03-23 17:45:40 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2022-03-23 17:49:25 +0000
commitb1775d81a7f681ce1e6dc4db4020081789995927 (patch)
tree30f8742d2ae1a48b82a6a812f8319f641858c825 /test
parente1c266df7688eced5ea7eaf1df2434dc92b4ccb2 (diff)
downloadlibnsgif-b1775d81a7f681ce1e6dc4db4020081789995927.tar.gz
libnsgif-b1775d81a7f681ce1e6dc4db4020081789995927.tar.bz2
Tests: Update decoder to set required pixel format.
Diffstat (limited to 'test')
-rw-r--r--test/nsgif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nsgif.c b/test/nsgif.c
index 76d7b8f..a32a0ef 100644
--- a/test/nsgif.c
+++ b/test/nsgif.c
@@ -272,7 +272,7 @@ int main(int argc, char *argv[])
}
/* create our gif animation */
- err = nsgif_create(&bitmap_callbacks, &gif);
+ err = nsgif_create(&bitmap_callbacks, NSGIF_BITMAP_FMT_R8G8B8A8, &gif);
if (err != NSGIF_OK) {
warning("nsgif_create", err);
return EXIT_FAILURE;