From 061603094af5ac6cd008a11cb10d30fdc549dd55 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Tue, 9 Nov 2004 23:34:01 +0000 Subject: [project @ 2004-11-09 23:34:01 by rjw] Move GIF decoding out of the plot loop where possible. svn path=/import/netsurf/; revision=1355 --- image/gif.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'image/gif.h') diff --git a/image/gif.h b/image/gif.h index c7fa6f281..db5b4b442 100644 --- a/image/gif.h +++ b/image/gif.h @@ -14,7 +14,8 @@ struct content; struct content_gif_data { struct gif_animation *gif; /**< GIF animation data */ - unsigned int current_frame; /**< current frame to display [0...(max-1)] */ + int current_frame; /**< current frame to display [0...(max-1)] */ + bool frame_drawn; /**< set when current frame has been used */ }; bool nsgif_create(struct content *c, const char *params[]); -- cgit v1.2.3