Revision 39938968 libavcodec/cook.c

View differences:

libavcodec/cook.c
448 448
            if(index==-1)break;
449 449
            tmp_categorize_array1[tmp_categorize_array1_idx++] = index;
450 450
            tmpbias1 -= expbits_tab[exp_index1[index]] -
451
                       expbits_tab[exp_index1[index]+1];
451
                        expbits_tab[exp_index1[index]+1];
452 452
            ++exp_index1[index];
453 453
        } else {  /* <--- */
454 454
            int min = 999999;
......
465 465
            if(index == -1)break;
466 466
            tmp_categorize_array2[tmp_categorize_array2_idx++] = index;
467 467
            tmpbias2 -= expbits_tab[exp_index2[index]] -
468
                       expbits_tab[exp_index2[index]-1];
468
                        expbits_tab[exp_index2[index]-1];
469 469
            --exp_index2[index];
470 470
        }
471 471
    }

Also available in: Unified diff