summaryrefslogtreecommitdiff
path: root/libavformat/hlsenc.c
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2019-08-21 10:24:36 +0800
committerSteven Liu <lq@chinaffmpeg.org>2019-08-26 11:06:48 +0800
commit17576fda6546afc818fe88efb62bb7a097c19e96 (patch)
treeb2fda2b2c8cb530e877ce05697aa55f2527c824d /libavformat/hlsenc.c
parent80d2a7f5c64f7a0f8534373e246066cf733c70d8 (diff)
avformat/hlsenc: remove unused value
CID: 1452644 Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat/hlsenc.c')
-rw-r--r--libavformat/hlsenc.c1
1 files changed, 0 insertions, 1 deletions
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) {