Skip to content

Bug in rotateFrameSba() while writing the rotated output to output buffer

(Generic issue template)

output writing loop (shown below) should be inside "for ( l = 1; l <= shd_rot_max_order; l++ )" loop

            /* write back the result */
            for ( n = m1; n < m2; n++ )
            {
                writePtr = getSmplPtr( outAudio, n, subframe_idx * subframe_len + i );
                ( *writePtr ) = tmpRot[n - m1];
            }
            m1 = m2;
            m2 += 2 * ( l + 1 ) + 1;