[FFmpeg-soc] [soc]: r1546 - amr/amrnbfloatdec.c
superdump
subversion at mplayerhq.hu
Mon Dec 10 17:58:00 CET 2007
Author: superdump
Date: Mon Dec 10 17:57:59 2007
New Revision: 1546
Log:
Use fabsf instead of FFABS. Does FFABS work for float?
Modified:
amr/amrnbfloatdec.c
Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c (original)
+++ amr/amrnbfloatdec.c Mon Dec 10 17:57:59 2007
@@ -1006,7 +1006,7 @@ static void synthesis(AMRContext *p, flo
// Check for overflows
for(i=0; i<AMR_SUBFRAME_SIZE; i++) {
- if(FFABS(samples[i])>1.0)
+ if(fabsf(samples[i])>1.0)
synthesis(p, excitation, lpc, samples, 1);
}
}
More information about the FFmpeg-soc
mailing list