[FFmpeg-cvslog] r13927 - trunk/libavcodec/ra144.c

vitor subversion
Mon Jun 23 22:37:53 CEST 2008


Author: vitor
Date: Mon Jun 23 22:37:53 2008
New Revision: 13927

Log:
rescale_rms() should use unsigned ints

Modified:
   trunk/libavcodec/ra144.c

Modified: trunk/libavcodec/ra144.c
==============================================================================
--- trunk/libavcodec/ra144.c	(original)
+++ trunk/libavcodec/ra144.c	Mon Jun 23 22:37:53 2008
@@ -171,7 +171,7 @@ static void lpc_filter(const int16_t *lp
     }
 }
 
-static unsigned int rescale_rms(int rms, int energy)
+static unsigned int rescale_rms(unsigned int rms, unsigned int energy)
 {
     return (rms * energy) >> 10;
 }




More information about the ffmpeg-cvslog mailing list