diff options
Diffstat (limited to 'test/decode_gif.c')
-rw-r--r-- | test/decode_gif.c | 2 |
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++) { |