mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
Setting i to 0 once should do.
Originally committed as revision 13048 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
20c9c8eec8
commit
8f51f55564
@ -131,7 +131,7 @@ static void overlap_and_window(NellyMoserDecodeContext *s, float *state, float *
|
|||||||
|
|
||||||
static int sum_bits(short *buf, short shift, short off)
|
static int sum_bits(short *buf, short shift, short off)
|
||||||
{
|
{
|
||||||
int b, i = 0, ret = 0;
|
int b, i, ret = 0;
|
||||||
|
|
||||||
for (i = 0; i < NELLY_FILL_LEN; i++) {
|
for (i = 0; i < NELLY_FILL_LEN; i++) {
|
||||||
b = buf[i]-off;
|
b = buf[i]-off;
|
||||||
|
Loading…
Reference in New Issue
Block a user