mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
aes: fix array index out of bounds warning
Originally committed as revision 24048 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
377723b22c
commit
c184bb44db
@ -141,7 +141,7 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) {
|
||||
uint8_t log8[256];
|
||||
uint8_t alog8[512];
|
||||
|
||||
if(!enc_multbl[0][sizeof(enc_multbl)/sizeof(enc_multbl[0][0])-1]){
|
||||
if(!enc_multbl[FF_ARRAY_ELEMS(enc_multbl)-1][FF_ARRAY_ELEMS(enc_multbl[0])-1]){
|
||||
j=1;
|
||||
for(i=0; i<255; i++){
|
||||
alog8[i]=
|
||||
|
Loading…
Reference in New Issue
Block a user