vlc | branch: master | Francois Cartegnie <[email protected]> | Mon May 20 11:48:54 2019 +0200| [9bf44b32959c2cf263e250da343e7ee866651ee4] | committer: Francois Cartegnie
demux: adaptive: really fix build without libgcrypt > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9bf44b32959c2cf263e250da343e7ee866651ee4 --- modules/demux/adaptive/encryption/CommonEncryption.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/demux/adaptive/encryption/CommonEncryption.cpp b/modules/demux/adaptive/encryption/CommonEncryption.cpp index 4b4d486bd2..e9b81581fe 100644 --- a/modules/demux/adaptive/encryption/CommonEncryption.cpp +++ b/modules/demux/adaptive/encryption/CommonEncryption.cpp @@ -108,9 +108,8 @@ void CommonEncryptionSession::close() size_t CommonEncryptionSession::decrypt(void *inputdata, size_t inputbytes, bool last) { #ifndef HAVE_GCRYPT - (void)data; - (void)bytes; - (void)last; + VLC_UNUSED(inputdata); + VLC_UNUSED(last); #else gcry_cipher_hd_t handle = reinterpret_cast<gcry_cipher_hd_t>(ctx); if(encryption.method == CommonEncryption::Method::AES_128 && ctx) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
