diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c index 4ab1e4bf5b..4f2b21a51f 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -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; }