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

vitor subversion
Sun May 25 18:52:14 CEST 2008


Author: vitor
Date: Sun May 25 18:52:14 2008
New Revision: 13392

Log:
Minor simplification of dec1()

Modified:
   trunk/libavcodec/ra144.c

Modified: trunk/libavcodec/ra144.c
==============================================================================
--- trunk/libavcodec/ra144.c	(original)
+++ trunk/libavcodec/ra144.c	Sun May 25 18:52:14 2008
@@ -234,12 +234,10 @@ static void do_output_subblock(Real144_i
 static int dec1(signed short *decsp, const int *data, const int *inp,
                  int f)
 {
-    short *ptr,*end;
-
-    end = (ptr = decsp) + 30;
+    int i;
 
-    while (ptr < end)
-        *(ptr++) = *(inp++);
+    for (i=0; i<30; i++)
+        *(decsp++) = *(inp++);
 
     return rms(data, f);
 }




More information about the ffmpeg-cvslog mailing list