[FFmpeg-cvslog] r13112 - trunk/libavcodec/lsp.c
voroshil
subversion
Sun May 11 07:28:30 CEST 2008
Author: voroshil
Date: Sun May 11 07:28:29 2008
New Revision: 13112
Log:
Fix compilation error.
It was introduced after changing input parameter and
overlooked during review process.
Modified:
trunk/libavcodec/lsp.c
Modified: trunk/libavcodec/lsp.c
==============================================================================
--- trunk/libavcodec/lsp.c (original)
+++ trunk/libavcodec/lsp.c Sun May 11 07:28:29 2008
@@ -96,7 +96,7 @@ void ff_acelp_lsp2lpc(int16_t* lp, const
ff1 += 1 << 10; // for rounding
lp[i] = (ff1 + ff2) >> 11; // divide by 2 and (3.22) -> (3.12)
- lp[lp_order + 1 - i] = (ff1 - ff2) >> 11; // divide by 2 and (3.22) -> (3.12)
+ lp[(lp_half_order << 1) + 1 - i] = (ff1 - ff2) >> 11; // divide by 2 and (3.22) -> (3.12)
}
}
More information about the ffmpeg-cvslog
mailing list