shithub: aacenc

Download patch

ref: 17c93b69a3779ca2b02b3344952b78b6c26a761b
parent: bf9ad462ec81712184bb6b852dbbec82d9aa3eb0
author: Krzysztof Nikiel <knik@users.sourceforge.net>
date: Wed Nov 1 05:13:47 EDT 2017

disable PNS when M/S is used

--- a/libfaac/frame.c
+++ b/libfaac/frame.c
@@ -189,6 +189,8 @@
 
     hEncoder->config.quantqual = config->quantqual;
 
+    if (config->jointmode == JOINT_MS)
+        config->pnslevel = 0;
     if (config->pnslevel < 0)
         config->pnslevel = 0;
     if (config->pnslevel > 10)