changeset 7113:fbe727fbd8d1 libavcodec

rescale_rms() should use unsigned ints
author vitor
date Mon, 23 Jun 2008 20:37:53 +0000
parents ebedec98b434
children 45ee27f3dc72
files ra144.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ra144.c	Mon Jun 23 20:35:02 2008 +0000
+++ b/ra144.c	Mon Jun 23 20:37:53 2008 +0000
@@ -171,7 +171,7 @@
     }
 }
 
-static unsigned int rescale_rms(int rms, int energy)
+static unsigned int rescale_rms(unsigned int rms, unsigned int energy)
 {
     return (rms * energy) >> 10;
 }