From b07e0e2dee3a2019dc2be34591b1c4e27730b2a0 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Thu, 28 Nov 2013 22:08:48 +0400 Subject: [PATCH] fixed style --- dash/ngx_rtmp_dash_module.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dash/ngx_rtmp_dash_module.c b/dash/ngx_rtmp_dash_module.c index 0de9a27..5d7cc66 100644 --- a/dash/ngx_rtmp_dash_module.c +++ b/dash/ngx_rtmp_dash_module.c @@ -273,7 +273,7 @@ ngx_rtmp_dash_write_playlist(ngx_rtmp_session_t *s) #define NGX_RTMP_DASH_MANIFEST_VIDEO \ " \n" \ " width, codec_ctx->height, codec_ctx->frame_rate, - &ctx->name, + &ctx->name, codec_ctx->width, codec_ctx->height, codec_ctx->frame_rate, @@ -407,7 +407,7 @@ ngx_rtmp_dash_write_playlist(ngx_rtmp_session_t *s) if (ctx->has_audio) { p = ngx_slprintf(buffer, last, NGX_RTMP_DASH_MANIFEST_AUDIO, - &ctx->name, + &ctx->name, codec_ctx->audio_codec_id == NGX_RTMP_AUDIO_AAC ? "40.2" : "6b", codec_ctx->sample_rate, @@ -1191,7 +1191,7 @@ ngx_rtmp_dash_video(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h, if (htype != 1) { return NGX_OK; } - + p = (u_char *) &delay; p[0] = in->buf->pos[4];