mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-20 18:01:08 +02:00
Merge pull request #7 from steelywing/master
fix 'volatile' qualifiers error
This commit is contained in:
commit
c4ee944870
|
@ -840,7 +840,7 @@ static ngx_int_t
|
||||||
ngx_rtmp_init_process(ngx_cycle_t *cycle)
|
ngx_rtmp_init_process(ngx_cycle_t *cycle)
|
||||||
{
|
{
|
||||||
#if (nginx_version >= 1007005)
|
#if (nginx_version >= 1007005)
|
||||||
ngx_queue_init(&ngx_rtmp_init_queue);
|
ngx_queue_init((ngx_queue_t*) &ngx_rtmp_init_queue);
|
||||||
#endif
|
#endif
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -115,7 +115,7 @@ ngx_rtmp_stat_init_process(ngx_cycle_t *cycle)
|
||||||
* so we can run posted events here
|
* so we can run posted events here
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ngx_event_process_posted(cycle, &ngx_rtmp_init_queue);
|
ngx_event_process_posted(cycle, (ngx_queue_t*) &ngx_rtmp_init_queue);
|
||||||
|
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue