mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
Fix compiling error
This commit is contained in:
parent
be6fff8cce
commit
6a0657fec6
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ impl Codec for APCodec {
|
|||
|
||||
self.encode_cipher.encrypt(&mut buf[offset..]);
|
||||
|
||||
let mac = [0u8; MAC_SIZE];
|
||||
let mut mac = [0u8; MAC_SIZE];
|
||||
self.encode_cipher.finish(&mut mac);
|
||||
buf.extend_from_slice(&mac);
|
||||
|
||||
|
|
Loading…
Reference in a new issue