Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
erankor committed May 4, 2024
1 parent 9fdf131 commit 5964714
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nginx-kmp-rtmp-module/src/ngx_kmp_rtmp_encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -901,8 +901,7 @@ static u_char *
ngx_kmp_rtmp_encoder_ext_header_write(u_char *p, u_char packet_type,
u_char key_frame, uint32_t fourcc, uint32_t pts_delay)
{
u_char frame_type;
uint32_t fourcc;
u_char frame_type;

frame_type = key_frame ? NGX_RTMP_FRAME_TYPE_KEY
: NGX_RTMP_FRAME_TYPE_INTER;
Expand Down

0 comments on commit 5964714

Please sign in to comment.