[FFmpeg-cvslog] lavf/hlsenc: fix one warning: unused variable 'filename' [-Wunused-variable]

Limin Wang git at videolan.org
Tue Aug 20 03:25:46 EEST 2019


ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Mon Aug 19 09:42:29 2019 +0800| [eccb94c3babcc93484d409b1d0fa059f1a2b7645] | committer: Steven Liu

lavf/hlsenc: fix one warning: unused variable 'filename' [-Wunused-variable]

Reviewed-by: Steven Liu <lq at onvideo.cn>
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eccb94c3babcc93484d409b1d0fa059f1a2b7645
---

 libavformat/hlsenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) {



More information about the ffmpeg-cvslog mailing list