Skip to content

Commit

Permalink
metadata. infinite loop. #145
Browse files Browse the repository at this point in the history
  • Loading branch information
Stvad committed Sep 12, 2016
1 parent c47cb23 commit 2fd45d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngx_rtmp_live_module.c
Expand Up @@ -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);
}

if (rpkt) {
if (rpkt && !data) {
ngx_rtmp_free_shared_chain(cscf, rpkt);
}

Expand Down

0 comments on commit 2fd45d4

Please sign in to comment.