Revision a7702890 libavcodec/wmv2.c

View differences:

libavcodec/wmv2.c
207 207

  
208 208
    if (!s->mb_intra) {
209 209
        /* compute cbp */
210
        set_stat(ST_INTER_MB);
211 210
        cbp = 0;
212 211
        for (i = 0; i < 6; i++) {
213 212
            if (s->block_last_index[i] >= 0)
......
244 243
#endif
245 244

  
246 245
        if (s->pict_type == I_TYPE) {
247
            set_stat(ST_INTRA_MB);
248 246
            put_bits(&s->pb,
249 247
                     ff_msmp4_mb_i_table[coded_cbp][1], ff_msmp4_mb_i_table[coded_cbp][0]);
250 248
        } else {
......
252 250
                     wmv2_inter_table[w->cbp_table_index][cbp][1],
253 251
                     wmv2_inter_table[w->cbp_table_index][cbp][0]);
254 252
        }
255
        set_stat(ST_INTRA_MB);
256 253
        put_bits(&s->pb, 1, 0);         /* no AC prediction yet */
257 254
        if(s->inter_intra_pred){
258 255
            s->h263_aic_dir=0;

Also available in: Unified diff