Revision b0d58795 libavcodec/vp8.c

View differences:

libavcodec/vp8.c
494 494
                for (l = 0; l < NUM_DCT_TOKENS-1; l++)
495 495
                    if (vp56_rac_get_prob_branchy(c, vp8_token_update_probs[i][j][k][l])) {
496 496
                        int prob = vp8_rac_get_uint(c, 8);
497
                        for (m = 0; m < 16; m++)
498
                            if (vp8_coeff_band[m] == j)
499
                                s->prob->token[i][m][k][l] = prob;
497
                        for (m = 0; vp8_coeff_band_indexes[j][m] >= 0; m++)
498
                            s->prob->token[i][vp8_coeff_band_indexes[j][m]][k][l] = prob;
500 499
                    }
501 500

  
502 501
    if ((s->mbskip_enabled = vp8_rac_get(c)))

Also available in: Unified diff