Revision ce5e49b0 libavcodec/wmv2enc.c

View differences:

libavcodec/wmv2enc.c
72 72
    Wmv2Context * const w= (Wmv2Context*)s;
73 73

  
74 74
    put_bits(&s->pb, 1, s->pict_type - 1);
75
    if(s->pict_type == FF_I_TYPE){
75
    if(s->pict_type == AV_PICTURE_TYPE_I){
76 76
        put_bits(&s->pb, 7, 0);
77 77
    }
78 78
    put_bits(&s->pb, 5, s->qscale);
......
87 87

  
88 88
    assert(s->flipflop_rounding);
89 89

  
90
    if (s->pict_type == FF_I_TYPE) {
90
    if (s->pict_type == AV_PICTURE_TYPE_I) {
91 91
        assert(s->no_rounding==1);
92 92
        if(w->j_type_bit) put_bits(&s->pb, 1, w->j_type);
93 93

  
......
191 191
            coded_cbp |= val << (5 - i);
192 192
        }
193 193

  
194
        if (s->pict_type == FF_I_TYPE) {
194
        if (s->pict_type == AV_PICTURE_TYPE_I) {
195 195
            put_bits(&s->pb,
196 196
                     ff_msmp4_mb_i_table[coded_cbp][1], ff_msmp4_mb_i_table[coded_cbp][0]);
197 197
        } else {

Also available in: Unified diff