Revision ce5e49b0 libavcodec/eatgv.c

View differences:

libavcodec/eatgv.c
300 300

  
301 301
    if(chunk_type==kVGT_TAG) {
302 302
        s->frame.key_frame = 1;
303
        s->frame.pict_type = FF_I_TYPE;
303
        s->frame.pict_type = AV_PICTURE_TYPE_I;
304 304
        if (unpack(buf, buf_end, s->frame.data[0], s->avctx->width, s->avctx->height)<0) {
305 305
            av_log(avctx, AV_LOG_WARNING, "truncated intra frame\n");
306 306
            return -1;
......
311 311
            return buf_size;
312 312
        }
313 313
        s->frame.key_frame = 0;
314
        s->frame.pict_type = FF_P_TYPE;
314
        s->frame.pict_type = AV_PICTURE_TYPE_P;
315 315
        if (tgv_decode_inter(s, buf, buf_end)<0) {
316 316
            av_log(avctx, AV_LOG_WARNING, "truncated inter frame\n");
317 317
            return -1;

Also available in: Unified diff