Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
igorshevach committed Sep 17, 2024
1 parent 4a2950b commit 12731f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx-rtmp-module/src/ngx_rtmp_codec_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -1467,7 +1467,7 @@ ngx_rtmp_codec_postconfiguration(ngx_conf_t *cf)

nelts = cmcf->events[NGX_RTMP_MSG_AUDIO].nelts;
for(;nelts > 1;nelts--, h--) {
*h = h[-1];
*h = h[-1];
}

*h = ngx_rtmp_codec_av;
Expand All @@ -1479,7 +1479,7 @@ ngx_rtmp_codec_postconfiguration(ngx_conf_t *cf)

nelts = cmcf->events[NGX_RTMP_MSG_VIDEO].nelts;
for(;nelts > 1;nelts--, h--) {
*h = h[-1];
*h = h[-1];
}

*h = ngx_rtmp_codec_av;
Expand Down

0 comments on commit 12731f2

Please sign in to comment.