[vlc-commits] demux: hls: fix unused variable warning
Zhao Zhili
git at videolan.org
Sat Nov 11 15:03:52 CET 2017
vlc | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Sat Nov 11 16:07:08 2017 +0800| [65135741a2b70e82685a1746f7d973b341fe6ce0] | committer: Jean-Baptiste Kempf
demux: hls: fix unused variable warning
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65135741a2b70e82685a1746f7d973b341fe6ce0
---
modules/demux/hls/playlist/HLSSegment.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/demux/hls/playlist/HLSSegment.cpp b/modules/demux/hls/playlist/HLSSegment.cpp
index dd86a0c561..57b3639052 100644
--- a/modules/demux/hls/playlist/HLSSegment.cpp
+++ b/modules/demux/hls/playlist/HLSSegment.cpp
@@ -60,7 +60,9 @@ void HLSSegment::onChunkDownload(block_t **pp_block, SegmentChunk *chunk, BaseRe
{
block_t *p_block = *pp_block;
-#ifdef HAVE_GCRYPT
+#ifndef HAVE_GCRYPT
+ (void)chunk;
+#else
if(encryption.method == SegmentEncryption::AES_128)
{
block_t *p_block = *pp_block;
More information about the vlc-commits
mailing list