Ticket #2686: aac-improvements-wip-v8-fix.patch
| File aac-improvements-wip-v8-fix.patch, 1.8 KB (added by , 12 years ago) |
|---|
-
libavcodec/aaccoder.c
a b 1456 1456 continue; 1457 1457 } 1458 1458 1459 /* No CB can be zero */ 1460 midcb = FFMAX(1,sce0->band_type[w*16+g]); 1461 sidcb = FFMAX(1,sce1->band_type[w*16+g]); 1462 1459 1463 for (w2 = 0; w2 < sce0->ics.group_len[w]; w2++) { 1460 1464 FFPsyBand *band0 = &s->psy.ch[s->cur_channel+0].psy_bands[(w+w2)*16+g]; 1461 1465 FFPsyBand *band1 = &s->psy.ch[s->cur_channel+1].psy_bands[(w+w2)*16+g]; … … 1475 1479 L34, 1476 1480 sce0->ics.swb_sizes[g], 1477 1481 sce0->sf_idx[(w+w2)*16+g], 1478 sce0->band_type[ (w+w2)*16+g],1482 sce0->band_type[w*16+g], 1479 1483 lambda / band0->threshold, INFINITY, &b1, 0); 1480 1484 dist1 += quantize_band_cost(s, sce1->coeffs + start + w2*128, 1481 1485 R34, 1482 1486 sce1->ics.swb_sizes[g], 1483 1487 sce1->sf_idx[(w+w2)*16+g], 1484 sce1->band_type[ (w+w2)*16+g],1488 sce1->band_type[w*16+g], 1485 1489 lambda / band1->threshold, INFINITY, &b2, 0); 1486 1490 dist2 += quantize_band_cost(s, M, 1487 1491 M34,
