Skip to content

Commit c53bd46

Browse files
committed
bug fix: skip parsing aac non config data in ngx_rtmp_codec_av
1 parent 7401182 commit c53bd46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nginx-rtmp-module/src/ngx_rtmp_codec_module.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,8 @@ ngx_rtmp_codec_av(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h, ngx_chain_t *in)
582582
/* no conf */
583583
if (!ngx_rtmp_is_codec_header(ctx->video_codec_id, in)) {
584584
if(h->type != NGX_RTMP_MSG_VIDEO
585-
|| ctx->video_captions_tries <= 0) {
585+
|| ctx->video_captions_tries <= 0)
586+
{
586587
return NGX_OK;
587588
}
588589

0 commit comments

Comments
 (0)