What steps will reproduce the problem?
1. compile with aacplus-2 without libresample
2.
3.
What is the expected output? What do you see instead?
- compile to success
What version of the product are you using? On what operating system?
- HEAD 1.0.1
Please provide any additional information below.
- typo in src/aacPlusEncoder.cpp inSamples/inputSamples
FIX IS HERE
diff -u ../darkice-0.20.1/src/aacPlusEncoder.cpp src/aacPlusEncoder.cpp
--- ../darkice-0.20.1/src/aacPlusEncoder.cpp 2010-11-18 17:56:12.000000000 +0100
+++ src/aacPlusEncoder.cpp 2010-12-27 15:01:55.266664112 +0100
@@ -114,7 +114,7 @@
#else
converter->initialize( resampleRatio, getInChannel());
//needed 2x(converted input samples) to handle offsets
- int outCount = 2 * getInChannel() * (inSamples + 1);
+ int outCount = 2 * getInChannel() * (inputSamples + 1);
if (resampleRatio > 1)
outCount = (int) (outCount * resampleRatio);
resampledOffset = new short int[outCount];
Original issue reported on code.google.com by oetelaar.automatisering on 27 Dec 2010 at 2:12
Original issue reported on code.google.com by
oetelaar.automatisering
on 27 Dec 2010 at 2:12