Browse Source

rescale_rms() should use unsigned ints

Originally committed as revision 13927 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Vitor Sessak 17 years ago
parent
commit
56a6fac89b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/ra144.c

+ 1
- 1
libavcodec/ra144.c View File

@@ -171,7 +171,7 @@ static void lpc_filter(const int16_t *lpc_coefs, uint16_t *in, int len)
}
}

static unsigned int rescale_rms(int rms, int energy)
static unsigned int rescale_rms(unsigned int rms, unsigned int energy)
{
return (rms * energy) >> 10;
}


Loading…
Cancel
Save