[FFmpeg-cvslog] r23012 - trunk/libavcodec/amrnbdec.c
mstorsjo
subversion
Mon May 3 07:57:49 CEST 2010
Author: mstorsjo
Date: Mon May 3 07:57:48 2010
New Revision: 23012
Log:
amrnbdec: Apply AMR_SAMPLE_SCALE when finishing the decoder output
The output scaling was accidentally removed in rev 22937.
Modified:
trunk/libavcodec/amrnbdec.c
Modified: trunk/libavcodec/amrnbdec.c
==============================================================================
--- trunk/libavcodec/amrnbdec.c Sun May 2 23:52:25 2010 (r23011)
+++ trunk/libavcodec/amrnbdec.c Mon May 3 07:57:48 2010 (r23012)
@@ -1043,7 +1043,8 @@ static int amrnb_decode_frame(AVCodecCon
}
ff_acelp_apply_order_2_transfer_function(buf_out, buf_out, highpass_zeros,
- highpass_poles, highpass_gain,
+ highpass_poles,
+ highpass_gain * AMR_SAMPLE_SCALE,
p->high_pass_mem, AMR_BLOCK_SIZE);
/* Update averaged lsf vector (used for fixed gain smoothing).
More information about the ffmpeg-cvslog
mailing list