Skip to content

Commit

Permalink
Merge pull request #12 from enzo1982/patch-1
Browse files Browse the repository at this point in the history
Fix broken Joint Stereo coding, issue #11
  • Loading branch information
knik0 authored Nov 26, 2017
2 parents 389e7e5 + 75c7b6c commit 2e79b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libfaac/quantize.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ int BlocQuant(CoderInfo *coder, double *xr, AACQuantCfg *aacquantCfg)
lastis += diff;
coder->sf[cnt] = lastis;
}
else if (book != HCB_PNS)
else if (book == HCB_ESC)
{
int diff = coder->sf[cnt] - lastsf;

Expand Down

0 comments on commit 2e79b31

Please sign in to comment.