mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00:00
av_des_init: suppress warning about unused parameter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
cb3591e697
commit
270a325f0c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user