fixed recording

This commit is contained in:
Roman Arutyunyan 2012-06-09 20:19:14 +04:00
parent 6be685f21b
commit 9a118b612e

View file

@ -582,9 +582,6 @@ ngx_rtmp_record_av(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
ctx->epoch = h->timestamp;
codec_ctx = ngx_rtmp_get_module_ctx(s, ngx_rtmp_codec_module);
if (codec_ctx == NULL) {
return NGX_OK;
}
if (codec_ctx) {
ch = *h;