Permalink
Browse files

fixed compilation on FreeBSD

  • Loading branch information...
arut committed Aug 13, 2012
1 parent 50931a9 commit 35425eeedb0b90e6c1922f6efcf8138e18451fe1
Showing with 2 additions and 0 deletions.
  1. +2 −0 ngx_rtmp_codec_module.c
View
@@ -200,6 +200,8 @@ ngx_rtmp_codec_av(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
cscf = ngx_rtmp_get_module_srv_conf(s, ngx_rtmp_core_module);
header = NULL;
+ pheader = NULL;
+ version = NULL;
if (h->type == NGX_RTMP_MSG_AUDIO) {
if (ctx->audio_codec_id == NGX_RTMP_AUDIO_AAC) {
header = &ctx->aac_header;

0 comments on commit 35425ee

Please sign in to comment.