comparison libmpdemux/demux_gif.c @ 21921:e4265d11dc37

Change some types to uint8_t where appropriate
author reimar
date Tue, 16 Jan 2007 07:05:28 +0000
parents 65b2a9b3bd35
children 277f0943aa4e
comparison
equal deleted inserted replaced
21920:65b2a9b3bd35 21921:e4265d11dc37
22 int current_pts; 22 int current_pts;
23 unsigned char *palette; 23 unsigned char *palette;
24 GifFileType *gif; 24 GifFileType *gif;
25 int w, h; 25 int w, h;
26 int useref; 26 int useref;
27 char *refimg; 27 uint8_t *refimg;
28 } gif_priv_t; 28 } gif_priv_t;
29 29
30 #define GIF_SIGNATURE (('G' << 16) | ('I' << 8) | 'F') 30 #define GIF_SIGNATURE (('G' << 16) | ('I' << 8) | 'F')
31 31
32 #ifndef HAVE_GIF_TVT_HACK 32 #ifndef HAVE_GIF_TVT_HACK
68 GifFileType *gif = priv->gif; 68 GifFileType *gif = priv->gif;
69 GifRecordType type = UNDEFINED_RECORD_TYPE; 69 GifRecordType type = UNDEFINED_RECORD_TYPE;
70 int len = 0; 70 int len = 0;
71 demux_packet_t *dp = NULL; 71 demux_packet_t *dp = NULL;
72 ColorMapObject *effective_map = NULL; 72 ColorMapObject *effective_map = NULL;
73 char *buf = NULL; 73 uint8_t *buf = NULL;
74 int refmode = 0; 74 int refmode = 0;
75 int transparency = 0; 75 int transparency = 0;
76 uint8_t transparent_col; 76 uint8_t transparent_col;
77 77
78 while (type != IMAGE_DESC_RECORD_TYPE) { 78 while (type != IMAGE_DESC_RECORD_TYPE) {