shithub: aacenc

Download patch

ref: 06c856cfb8dd34fa55f55b77e86d0e06c8dd5221
parent: 03afaba31cf653649d8a6d8635233fc669791ac1
author: Krzysztof Nikiel <knik@users.sourceforge.net>
date: Thu Nov 2 07:36:44 EDT 2017

disable PNS with DRM

--- a/libfaac/frame.c
+++ b/libfaac/frame.c
@@ -139,6 +139,10 @@
     if (hEncoder->config.aacObjectType != LOW)
         return 0;
 
+#ifdef DRM
+    config->pnslevel = 0;
+#endif
+
     /* Re-init TNS for new profile */
     TnsInit(hEncoder);