[FFmpeg-cvslog] r19280 - trunk/libavcodec/g729dec.c
voroshil
subversion
Fri Jun 26 19:42:25 CEST 2009
Author: voroshil
Date: Fri Jun 26 19:42:25 2009
New Revision: 19280
Log:
Replace pitch_delay_int array with single variable.
Modified:
trunk/libavcodec/g729dec.c
Modified: trunk/libavcodec/g729dec.c
==============================================================================
--- trunk/libavcodec/g729dec.c Fri Jun 26 03:08:26 2009 (r19279)
+++ trunk/libavcodec/g729dec.c Fri Jun 26 19:42:25 2009 (r19280)
@@ -258,12 +258,12 @@ static int decode_frame(AVCodecContext *
gc_1st_index = get_bits(&gb, format.gc_1st_index_bits);
gc_2nd_index = get_bits(&gb, format.gc_2nd_index_bits);
- ff_acelp_weighted_vector_sum(fc + pitch_delay_int[i],
- fc + pitch_delay_int[i],
+ ff_acelp_weighted_vector_sum(fc + pitch_delay_int,
+ fc + pitch_delay_int,
fc, 1 << 14,
av_clip(ctx->gain_pitch, SHARP_MIN, SHARP_MAX),
0, 14,
- SUBFRAME_SIZE - pitch_delay_int[i]);
+ SUBFRAME_SIZE - pitch_delay_int);
if (frame_erasure) {
ctx->gain_pitch = (29491 * ctx->gain_pitch) >> 15; // 0.90 (0.15)
More information about the ffmpeg-cvslog
mailing list