[SCM] libav/experimental: explain where the T table comes from

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:57:51 UTC 2013


The following commit has been merged in the experimental branch:
commit f1505ce3bc9d8635f764e75a3f6ac8c51f0b248b
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Wed Mar 14 19:43:31 2007 +0000

    explain where the T table comes from
    
    Originally committed as revision 8406 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavutil/md5.c b/libavutil/md5.c
index 7c078bb..cacae65 100644
--- a/libavutil/md5.c
+++ b/libavutil/md5.c
@@ -49,7 +49,7 @@ static const uint8_t S[4][4] = {
     { 6, 10, 15, 21 }   /* Round 4 */
 };
 
-static const uint32_t T[64] = {
+static const uint32_t T[64] = { // T[i]= fabs(sin(i+1)<<32)
     0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee,   /* Round 1 */
     0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501,
     0x698098d8, 0x8b44f7af, 0xffff5bb1, 0x895cd7be,

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list