[FFmpeg-cvslog] avformat/hlsenc: remove unused value

Steven Liu git at videolan.org
Mon Aug 26 06:08:25 EEST 2019


ffmpeg | branch: master | Steven Liu <lq at chinaffmpeg.org> | Wed Aug 21 10:24:36 2019 +0800| [17576fda6546afc818fe88efb62bb7a097c19e96] | committer: Steven Liu

avformat/hlsenc: remove unused value

CID: 1452644
Signed-off-by: Steven Liu <lq at chinaffmpeg.org>

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

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



More information about the ffmpeg-cvslog mailing list