Revision dfd2a005 libavcodec/gifdec.c

View differences:

libavcodec/gifdec.c
77 77
    has_local_palette = flags & 0x80;
78 78
    bits_per_pixel = (flags & 0x07) + 1;
79 79

  
80
    dprintf(s->avctx, "gif: image x=%d y=%d w=%d h=%d\n", left, top, width, height);
80
    av_dlog(s->avctx, "gif: image x=%d y=%d w=%d h=%d\n", left, top, width, height);
81 81

  
82 82
    if (has_local_palette) {
83 83
        bytestream_get_buffer(&s->bytestream, s->local_palette, 3 * (1 << bits_per_pixel));
......
163 163
    ext_code = bytestream_get_byte(&s->bytestream);
164 164
    ext_len = bytestream_get_byte(&s->bytestream);
165 165

  
166
    dprintf(s->avctx, "gif: ext_code=0x%x len=%d\n", ext_code, ext_len);
166
    av_dlog(s->avctx, "gif: ext_code=0x%x len=%d\n", ext_code, ext_len);
167 167

  
168 168
    switch(ext_code) {
169 169
    case 0xf9:
......
179 179
            s->transparent_color_index = -1;
180 180
        s->gce_disposal = (gce_flags >> 2) & 0x7;
181 181

  
182
        dprintf(s->avctx, "gif: gce_flags=%x delay=%d tcolor=%d disposal=%d\n",
182
        av_dlog(s->avctx, "gif: gce_flags=%x delay=%d tcolor=%d disposal=%d\n",
183 183
               gce_flags, s->gce_delay,
184 184
               s->transparent_color_index, s->gce_disposal);
185 185

  
......
194 194
            bytestream_get_byte(&s->bytestream);
195 195
        ext_len = bytestream_get_byte(&s->bytestream);
196 196

  
197
        dprintf(s->avctx, "gif: ext_len1=%d\n", ext_len);
197
        av_dlog(s->avctx, "gif: ext_len1=%d\n", ext_len);
198 198
    }
199 199
    return 0;
200 200
}
......
231 231
    s->background_color_index = bytestream_get_byte(&s->bytestream);
232 232
    bytestream_get_byte(&s->bytestream);                /* ignored */
233 233

  
234
    dprintf(s->avctx, "gif: screen_w=%d screen_h=%d bpp=%d global_palette=%d\n",
234
    av_dlog(s->avctx, "gif: screen_w=%d screen_h=%d bpp=%d global_palette=%d\n",
235 235
           s->screen_width, s->screen_height, s->bits_per_pixel,
236 236
           has_global_palette);
237 237

  
......
249 249
    while (s->bytestream < s->bytestream_end) {
250 250
        int code = bytestream_get_byte(&s->bytestream);
251 251

  
252
        dprintf(s->avctx, "gif: code=%02x '%c'\n", code, code);
252
        av_dlog(s->avctx, "gif: code=%02x '%c'\n", code, code);
253 253

  
254 254
        switch (code) {
255 255
        case ',':

Also available in: Unified diff