From 17576fda6546afc818fe88efb62bb7a097c19e96 Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Wed, 21 Aug 2019 10:24:36 +0800 Subject: [PATCH] avformat/hlsenc: remove unused value CID: 1452644 Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 03b06cabe8..c6bd664b92 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2785,7 +2785,6 @@ static int hls_init(AVFormatContext *s) ret = format_name(hls->segment_filename, &vs->basename, i, vs->varname); if (ret < 0) goto fail; - basename_size = strlen(vs->basename) + 1; } else { if (hls->flags & HLS_SINGLE_FILE) { if (hls->segment_type == SEGMENT_TYPE_FMP4) {