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

vitor subversion
Mon Jun 23 22:44:59 CEST 2008


Author: vitor
Date: Mon Jun 23 22:44:58 2008
New Revision: 13931

Log:
Simplify

Modified:
   trunk/libavcodec/ra144.c

Modified: trunk/libavcodec/ra144.c
==============================================================================
--- trunk/libavcodec/ra144.c	(original)
+++ trunk/libavcodec/ra144.c	Mon Jun 23 22:44:58 2008
@@ -135,7 +135,7 @@ static void add_wav(int n, int skip_firs
         v[i] = (gain_val_tab[n][i] * m[i]) >> (gain_exp_tab[n][i] + 1);
 
     for (i=0; i < BLOCKSIZE; i++)
-        dest[i] = ((*(s1++))*v[0] + (*(s2++))*v[1] + (*(s3++))*v[2]) >> 12;
+        dest[i] = (s1[i]*v[0] + s2[i]*v[1] + s3[i]*v[2]) >> 12;
 }
 
 /**




More information about the ffmpeg-cvslog mailing list