summaryrefslogtreecommitdiff
path: root/test/decode_gif.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-08-26 12:57:56 +0100
committerVincent Sanders <vince@kyllikki.org>2016-08-26 12:57:56 +0100
commit0615d2ea332b07586dc838bab7121253f0396db3 (patch)
tree88fd9cf8dd6784109cc365189f6defed620402fe /test/decode_gif.c
parent30b1b0baa029c809fd104f0013454c408cdc1418 (diff)
downloadlibnsgif-0615d2ea332b07586dc838bab7121253f0396db3.tar.gz
libnsgif-0615d2ea332b07586dc838bab7121253f0396db3.tar.bz2
Add AFL derived test vectors
Diffstat (limited to 'test/decode_gif.c')
-rw-r--r--test/decode_gif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/decode_gif.c b/test/decode_gif.c
index 3ada667..aafe7f6 100644
--- a/test/decode_gif.c
+++ b/test/decode_gif.c
@@ -158,7 +158,7 @@ static void write_ppm(FILE* fh, const char *name, gif_animation *gif)
if (code != GIF_OK)
warning("gif_decode_frame", code);
- printf("# frame %u:\n", i);
+ fprintf(fh, "# frame %u:\n", i);
image = (unsigned char *) gif->frame_image;
for (row = 0; row != gif->height; row++) {
for (col = 0; col != gif->width; col++) {