[FFmpeg-devel] [PATCH] avformat/hlsenc: remove the use_localtime_mkdir check logic
Steven Liu
lq at chinaffmpeg.org
Thu Nov 1 16:42:45 EET 2018
fix ticket: 7527
the use_localtime_mkdir check logic looks should be needn't.
Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
---
libavformat/hlsenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index f8f060d065..f4b3eb2aad 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -442,7 +442,7 @@ static int hls_delete_old_segments(AVFormatContext *s, HLSContext *hls,
}
}
- if (segment && !hls->use_localtime_mkdir) {
+ if (segment) {
if (hls->segment_filename) {
dirname = av_strdup(hls->segment_filename);
} else {
--
2.15.1
More information about the ffmpeg-devel
mailing list