From 60ccf8283985bd680e4b4ac83d9c045e9a8c62b1 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Wed, 9 Feb 2022 21:50:53 +0100 Subject: [PATCH] Update ngx_rtmp_hls_module.c --- hls/ngx_rtmp_hls_module.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hls/ngx_rtmp_hls_module.c b/hls/ngx_rtmp_hls_module.c index f98dfe0..8981eb9 100644 --- a/hls/ngx_rtmp_hls_module.c +++ b/hls/ngx_rtmp_hls_module.c @@ -639,7 +639,6 @@ ngx_rtmp_hls_write_playlist(ngx_rtmp_session_t *s, int final) prev_key_id = 0; for (i = start_i; i < (ngx_int_t)ctx->nfrags; i++) { - for (i = start_i; i < (ngx_int_t) ctx->nfrags; i++) { f = ngx_rtmp_hls_get_frag(s, i); if ((i == 0 || f->discont) && f->datetime && f->datetime->len > 0) { p = ngx_snprintf(buffer, sizeof(buffer), "#EXT-X-PROGRAM-DATE-TIME:");