avutil/cast5: Make iv array static
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							parent
							
								
									156f64bdf1
								
							
						
					
					
						commit
						536b42e858
					
				@ -529,7 +529,7 @@ int main(int argc, char** argv)
 | 
				
			|||||||
        {0xee, 0xa9, 0xd0, 0xa2, 0x49, 0xfd, 0x3b, 0xa6, 0xb3, 0x43, 0x6f, 0xb8, 0x9d, 0x6d, 0xca, 0x92},
 | 
					        {0xee, 0xa9, 0xd0, 0xa2, 0x49, 0xfd, 0x3b, 0xa6, 0xb3, 0x43, 0x6f, 0xb8, 0x9d, 0x6d, 0xca, 0x92},
 | 
				
			||||||
        {0xb2, 0xc9, 0x5e, 0xb0, 0x0c, 0x31, 0xad, 0x71, 0x80, 0xac, 0x05, 0xb8, 0xe8, 0x3d, 0x69, 0x6e}
 | 
					        {0xb2, 0xc9, 0x5e, 0xb0, 0x0c, 0x31, 0xad, 0x71, 0x80, 0xac, 0x05, 0xb8, 0xe8, 0x3d, 0x69, 0x6e}
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    const uint8_t iv[8] = {0xee, 0xa9, 0xd0, 0xa2, 0x49, 0xfd, 0x3b, 0xa6};
 | 
					    static const uint8_t iv[8] = {0xee, 0xa9, 0xd0, 0xa2, 0x49, 0xfd, 0x3b, 0xa6};
 | 
				
			||||||
    static uint8_t rpt2[2][16];
 | 
					    static uint8_t rpt2[2][16];
 | 
				
			||||||
    int i, j, err = 0;
 | 
					    int i, j, err = 0;
 | 
				
			||||||
    static const int key_bits[3] = {128, 80, 40};
 | 
					    static const int key_bits[3] = {128, 80, 40};
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user