[FFmpeg-devel] [PATCH v1 3/3] avformat/hlsenc: remove unused value
Steven Liu
lq at chinaffmpeg.org
Wed Aug 21 05:24:36 EEST 2019
CID: 1452644
Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
---
libavformat/hlsenc.c | 1 -
1 file changed, 1 deletion(-)
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) {
--
2.15.1
More information about the ffmpeg-devel
mailing list