]> git.sesse.net Git - vlc/commitdiff
Fix #1572
authorRafaël Carré <funman@videolan.org>
Tue, 6 May 2008 21:17:42 +0000 (23:17 +0200)
committerRafaël Carré <funman@videolan.org>
Tue, 6 May 2008 21:17:57 +0000 (23:17 +0200)
The bug is present in original "Linux DeCSA Tool" on http://csa.irde.to/

modules/mux/mpeg/csa.c

index b5ddcade07a829823e81fe9a73e10533fd0eae7b..54545bf048297230c7f460d1389c7f7a804d4b0f 100644 (file)
@@ -281,7 +281,7 @@ static void csa_ComputeKey( uint8_t kk[57], uint8_t ck[8] )
     int i,j,k;
     int bit[64];
     int newbit[64];
-    int kb[9][8];
+    int kb[8][9];
 
     /* from a cw create 56 key bytes, here kk[1..56] */