Fixed a bug in isac-fix's entropy coding function: out of bounds acces to array.
BUG=227286 Review URL: https://webrtc-codereview.appspot.com/1293005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3781 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -2012,7 +2012,7 @@ void WebRtcIsacfix_TranscodeLpcCoef(WebRtc_Word32 *gain_lo_hiQ17,
|
||||
/* KLT */
|
||||
|
||||
/* left transform */
|
||||
for (j = 0, offsg = 0; j < SUBFRAMES; j++, offsg += SUBFRAMES) {
|
||||
for (j = 0, offsg = 0; j < SUBFRAMES; j++, offsg += 2) {
|
||||
// Q21 = Q6 * Q15
|
||||
sumQQ = WEBRTC_SPL_MUL_16_16(tmpcoeffs_gQ6[offsg],
|
||||
WebRtcIsacfix_kT1GainQ15[0][0]);
|
||||
|
Reference in New Issue
Block a user