shithub: aacenc

Download patch

ref: 58f5370af92b2bed578093db57e1868a6bc80c39
parent: 8f67aea4006734f72e71cb425e0036b30e27cd49
author: Krzysztof Nikiel <knik@users.sourceforge.net>
date: Thu Nov 2 07:47:27 EDT 2017

version -> 1.29.9

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+1.29.9:
 	* initial version of PNS coding
 	* Intensity Stereo coding
 	* more speed improvements
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 AC_PREREQ(2.50)
-AC_INIT(faac, 1.29.8.3, https://sourceforge.net/p/faac/bugs/)
+AC_INIT(faac, 1.29.9, https://sourceforge.net/p/faac/bugs/)
 AC_CONFIG_AUX_DIR(.)
 AM_INIT_AUTOMAKE([subdir-objects])
 
--- a/frontend/maingui.c
+++ b/frontend/maingui.c
@@ -152,7 +152,7 @@
             /* set encoder configuration */
             faacEncConfigurationPtr config = faacEncGetCurrentConfiguration(hEncoder);
 
-            config->allowMidside = IsDlgButtonChecked(hWnd, IDC_ALLOWMIDSIDE) == BST_CHECKED ? 1 : 0;
+            config->jointmode = IsDlgButtonChecked(hWnd, IDC_ALLOWMIDSIDE) == BST_CHECKED ? 1 : 0;
             config->useTns = IsDlgButtonChecked(hWnd, IDC_USETNS) == BST_CHECKED ? 1 : 0;
             config->useLfe = IsDlgButtonChecked(hWnd, IDC_USELFE) == BST_CHECKED ? 1 : 0;
             config->outputFormat = IsDlgButtonChecked(hWnd, IDC_USERAW) == BST_CHECKED ? 0 : 1;
@@ -208,7 +208,7 @@
                 char HeaderText[50];
                 char Percentage[5];
 
-                pcmbuf = (short*)LocalAlloc(0, inputSamples*sizeof(int));
+                pcmbuf = (int*)LocalAlloc(0, inputSamples*sizeof(int));
                 bitbuf = (unsigned char*)LocalAlloc(0, maxOutputBytes*sizeof(unsigned char));
 
                 SendDlgItemMessage(hWnd, IDC_PROGRESS, PBM_SETRANGE, 0, MAKELPARAM(0, 1024));
--- a/libfaac/Makefile.am
+++ b/libfaac/Makefile.am
@@ -1,5 +1,5 @@
 common_SOURCES = bitstream.c fft.c frame.c blockswitch.c util.c channels.c filtbank.c tns.c quantize.c huff2.c huffdata.c stereo.c
-common_INCLUDES = channels.h filtbank.h blockswitch.h coder.h frame.h tns.h bitstream.h fft.h util.h quantize.h version.h huffdata.h huff2.h stereo.h
+common_INCLUDES = channels.h filtbank.h blockswitch.h coder.h frame.h tns.h bitstream.h fft.h util.h quantize.h huffdata.h huff2.h stereo.h
 common_LIBADD = -lm
 common_CFLAGS = -fvisibility=hidden
 if CPUSSE