[vlc-devel] [PATCH] demux: hls: fix unused variable warning
Zhao Zhili
quinkblack at foxmail.com
Sat Nov 11 09:07:08 CET 2017
---
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 dd86a0c..57b3639 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;
--
2.7.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-demux-hls-fix-unused-variable-warning.patch
Type: text/x-patch
Size: 859 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20171111/b410a873/attachment.bin>
More information about the vlc-devel
mailing list