Commit 56a6fac8 authored by Vitor Sessak's avatar Vitor Sessak

rescale_rms() should use unsigned ints

Originally committed as revision 13927 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 536ee174
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment