summaryrefslogtreecommitdiffstats
path: root/libhb/platform
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/platform')
-rw-r--r--libhb/platform/macosx/encca_aac.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libhb/platform/macosx/encca_aac.c b/libhb/platform/macosx/encca_aac.c
index 762559cae..21b458960 100644
--- a/libhb/platform/macosx/encca_aac.c
+++ b/libhb/platform/macosx/encca_aac.c
@@ -280,14 +280,6 @@ static OSStatus inInputDataProc( AudioConverterRef converter, UInt32 *npackets,
*npackets = buffers->mBuffers[0].mDataByteSize / pv->isamplesiz;
- /* transform data from [-32768,32767] to [-1.0,1.0] */
- float *fdata = buffers->mBuffers[0].mData;
- int i;
-
- for( i = 0; i < *npackets * pv->nchannels; i++ ) {
- fdata[i] = fdata[i] / 32768.f;
- }
-
pv->ibytes -= buffers->mBuffers[0].mDataByteSize;
return noErr;