mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-01 06:09:32 +02:00
metadata. infinite loop. #145
This commit is contained in:
parent
c47cb2370f
commit
2fd45d4114
|
@ -1142,7 +1142,7 @@ ngx_rtmp_live_data(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
|
||||||
ngx_rtmp_free_shared_chain(cscf, data);
|
ngx_rtmp_free_shared_chain(cscf, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rpkt) {
|
if (rpkt && !data) {
|
||||||
ngx_rtmp_free_shared_chain(cscf, rpkt);
|
ngx_rtmp_free_shared_chain(cscf, rpkt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue