[SCM] libav/experimental: Slighly faster operation

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:24:49 UTC 2013


The following commit has been merged in the experimental branch:
commit eb73742d6e19d72bced2bfec6f65cd45e93308d1
Author: Vitor Sessak <vitor1001 at gmail.com>
Date:   Sun Jul 6 12:01:59 2008 +0000

    Slighly faster operation
    
    Originally committed as revision 14091 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c
index f7e1a63..f6e214c 100644
--- a/libavcodec/ra288.c
+++ b/libavcodec/ra288.c
@@ -196,7 +196,7 @@ static void update(Real288_internal *glob)
 
     y = glob->phase + 1;
     for (x=0; x < 8; x++)
-        buffer2[x] = glob->history[(y++) % 8];
+        buffer2[x] = glob->history[(y++) & 7];
 
     co(10, 8, 20, buffer2, temp2, glob->st2a, glob->st2b, table2);
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list