lavf/hlsenc: fix one warning: unused variable 'filename' [-Wunused-variable]
authorLimin Wang <lance.lmwang@gmail.com>
Mon, 19 Aug 2019 01:42:29 +0000 (09:42 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Tue, 20 Aug 2019 00:23:53 +0000 (08:23 +0800)
Reviewed-by: Steven Liu <lq@onvideo.cn>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
libavformat/hlsenc.c

index f6f9c81..149b2a3 100644 (file)
@@ -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) {