Revision ce5e49b0 libavcodec/bfi.c

View differences:

libavcodec/bfi.c
69 69

  
70 70
    /* Set frame parameters and palette, if necessary */
71 71
    if (!avctx->frame_number) {
72
        bfi->frame.pict_type = FF_I_TYPE;
72
        bfi->frame.pict_type = AV_PICTURE_TYPE_I;
73 73
        bfi->frame.key_frame = 1;
74 74
        /* Setting the palette */
75 75
        if(avctx->extradata_size>768) {
......
89 89
        memcpy(bfi->pal, bfi->frame.data[1], sizeof(bfi->pal));
90 90
        bfi->frame.palette_has_changed = 1;
91 91
    } else {
92
        bfi->frame.pict_type = FF_P_TYPE;
92
        bfi->frame.pict_type = AV_PICTURE_TYPE_P;
93 93
        bfi->frame.key_frame = 0;
94 94
        bfi->frame.palette_has_changed = 0;
95 95
        memcpy(bfi->frame.data[1], bfi->pal, sizeof(bfi->pal));

Also available in: Unified diff