From 356b824af327a43f75b78d59c825f0dfbe78f52a Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Wed, 13 Jun 2012 23:48:49 +0400 Subject: [PATCH] removed useless header initializers --- ngx_rtmp_codec_module.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ngx_rtmp_codec_module.c b/ngx_rtmp_codec_module.c index 202d89b..3ec3950 100644 --- a/ngx_rtmp_codec_module.c +++ b/ngx_rtmp_codec_module.c @@ -200,8 +200,6 @@ ngx_rtmp_codec_av(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h, /* equal headers; timeout diff is zero */ ngx_memzero(&ch, sizeof(ch)); - ngx_memzero(&lh, sizeof(lh)); - ch.timestamp = h->timestamp; ch.msid = NGX_RTMP_LIVE_MSID; ch.type = h->type; ch.csid = (h->type == NGX_RTMP_MSG_VIDEO