summaryrefslogtreecommitdiff
path: root/libavformat/hlsenc.c
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2019-08-19 09:42:29 +0800
committerSteven Liu <lq@chinaffmpeg.org>2019-08-20 08:23:53 +0800
commiteccb94c3babcc93484d409b1d0fa059f1a2b7645 (patch)
tree27833bc0bbf1b7501b485f002966bc554761a25b /libavformat/hlsenc.c
parentd0fa1a58da71492f665759e73c47daf04a9b658c (diff)
lavf/hlsenc: fix one warning: unused variable 'filename' [-Wunused-variable]
Reviewed-by: Steven Liu <lq@onvideo.cn> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavformat/hlsenc.c')
-rw-r--r--libavformat/hlsenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index f6f9c8161d..149b2a3bd0 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -1571,7 +1571,7 @@ static int hls_start(AVFormatContext *s, VariantStream *vs)
AVDictionary *options = NULL;
const char *proto = NULL;
int use_temp_file = 0;
- char *filename, iv_string[KEYSIZE*2 + 1];
+ char iv_string[KEYSIZE*2 + 1];
int err = 0;
if (c->flags & HLS_SINGLE_FILE) {