Commit 270a325f authored by Michael Niedermayer's avatar Michael Niedermayer

av_des_init: suppress warning about unused parameter

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cb3591e6
......@@ -286,7 +286,7 @@ static uint64_t des_encdec(uint64_t in, uint64_t K[16], int decrypt) {
return in;
}
int av_des_init(AVDES *d, const uint8_t *key, int key_bits, int decrypt) {
int av_des_init(AVDES *d, const uint8_t *key, int key_bits, av_unused int decrypt) {
if (key_bits != 64 && key_bits != 192)
return -1;
d->triple_des = key_bits > 64;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment