mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-18 04:15:07 +02:00
removed old variable
This commit is contained in:
parent
fcbd18c7f7
commit
9abf8355d9
|
@ -220,7 +220,7 @@ ngx_rtmp_dash_write_playlist(ngx_rtmp_session_t *s)
|
|||
ssize_t n;
|
||||
ngx_fd_t fd;
|
||||
struct tm tm;
|
||||
ngx_str_t playlist, playlist_bak, noname, *name;
|
||||
ngx_str_t noname, *name;
|
||||
ngx_uint_t i;
|
||||
ngx_rtmp_dash_ctx_t *ctx;
|
||||
ngx_rtmp_codec_ctx_t *codec_ctx;
|
||||
|
@ -434,7 +434,7 @@ ngx_rtmp_dash_write_playlist(ngx_rtmp_session_t *s)
|
|||
if (ngx_rtmp_dash_rename_file(ctx->playlist_bak.data, ctx->playlist.data)) {
|
||||
ngx_log_error(NGX_LOG_ERR, s->connection->log, ngx_errno,
|
||||
"dash: rename failed: '%V'->'%V'",
|
||||
&playlist_bak, &playlist);
|
||||
&ctx->playlist_bak, &ctx->playlist);
|
||||
return NGX_ERROR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue