[FFmpeg-devel,v1,3/3] avformat/hlsenc: remove unused value

Submitted by Steven Liu on Aug. 21, 2019, 2:24 a.m.

Details

Message ID 20190821022436.30645-1-lq@chinaffmpeg.org
State Accepted
Commit 17576fda6546afc818fe88efb62bb7a097c19e96
Headers show

Commit Message

Steven Liu Aug. 21, 2019, 2:24 a.m.
CID: 1452644
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
 libavformat/hlsenc.c | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 689e29edcc..6b0f49c3b7 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -2786,7 +2786,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) {