Commit 3fbebc5f authored by mstorsjo's avatar mstorsjo

amrnbdec: Apply AMR_SAMPLE_SCALE when finishing the decoder output

The output scaling was accidentally removed in rev 22937.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23012 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ba5b51b5
......@@ -1043,7 +1043,8 @@ static int amrnb_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
}
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).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment