shithub: aacenc

Download patch

ref: 75c7b6cc132cece4485f0968428b8e5892be6898
parent: 389e7e5433e86bb6b24ab80086f6c5f005400ef4
author: Robert Kausch <robert.kausch@freac.org>
date: Sun Nov 26 13:21:28 EST 2017

Fix broken Joint Stereo coding, issue #11

--- a/libfaac/quantize.c
+++ b/libfaac/quantize.c
@@ -338,7 +338,7 @@
                 lastis += diff;
                 coder->sf[cnt] = lastis;
             }
-            else if (book != HCB_PNS)
+            else if (book == HCB_ESC)
             {
                 int diff = coder->sf[cnt] - lastsf;