History

search_for_quantizers_faac: fix curband

Michael Niedermayer committed 14 years ago

Commit 33775c31 parent f6d952f1 file · +1 −1Browse files

Showing the changes to libavcodec/aaccoder.c (1 of 1 file). Show all

Unified · Split

libavcodec/aaccoder.c+1−1
@@ -878,7 +878,7 @@ static void search_for_quantizers_faac(AVCodecContext *avctx, AACEncContext *s, · 877 unmodified lines
878878 } else {
879879 for (w = 0; w < 8; w++) {
880880 const float *coeffs = sce->coeffs + w*128;
881− start = 0;
881+ curband = start = 0;
882882 for (i = 0; i < 128; i++) {
883883 if (i - start >= sce->ics.swb_sizes[curband]) {
884884 start += sce->ics.swb_sizes[curband];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t