diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2004-11-09 21:27:59 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2004-11-09 21:27:59 +0000 |
commit | 4d520be08c0713e002d5622e9c362b35307dbe75 (patch) | |
tree | b5b41d62850b3497e58cc6357ee1b33c1deeeae7 /image/gifread.h | |
parent | dde5f820ea08828a500a096f53302e369a7388c1 (diff) | |
download | netsurf-4d520be08c0713e002d5622e9c362b35307dbe75.tar.gz netsurf-4d520be08c0713e002d5622e9c362b35307dbe75.tar.bz2 |
[project @ 2004-11-09 21:27:59 by rjw]
Fix for GIF dirty frame clearance bug.
svn path=/import/netsurf/; revision=1353
Diffstat (limited to 'image/gifread.h')
-rw-r--r-- | image/gifread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/image/gifread.h b/image/gifread.h index 77e899b81..f5d88d481 100644 --- a/image/gifread.h +++ b/image/gifread.h @@ -51,7 +51,7 @@ typedef struct gif_animation { unsigned int buffer_position; /**< current index into GIF data */ unsigned int buffer_size; /**< total number of bytes of GIF data available */ unsigned int frame_holders; /**< current number of frame holders */ - unsigned int decoded_frame; /**< current frame decoded to bitmap */ + int decoded_frame; /**< current frame decoded to bitmap */ int loop_count; /**< number of times to loop animation */ gif_frame *frames; /**< decoded frames */ unsigned int width; /**< width of GIF (may increase during decoding) */ @@ -64,7 +64,7 @@ typedef struct gif_animation { bool global_colours; /**< whether the GIF has a global colour table */ unsigned int *global_colour_table; /**< global colour table */ unsigned int *local_colour_table; /**< local colour table */ - unsigned int dirty_frame; /**< the current dirty frame, or -1 for none */ + int dirty_frame; /**< the current dirty frame, or -1 for none */ struct bitmap *frame_image; /**< currently decoded image */ } gif_animation; |