Skip to content

Commit

Permalink
[core] Fixed SRT_SOCKOPT_NPOST when ENABLE_MAXREXMITBW is defined.
Browse files Browse the repository at this point in the history
A follow up fix for #2889.
  • Loading branch information
maxsharabayko committed Feb 22, 2024
1 parent 29fda2c commit 16cb043
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions srtcore/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,12 @@ enum AckDataItem
};
const size_t ACKD_FIELD_SIZE = sizeof(int32_t);

#ifdef ENABLE_MAXREXMITBW
static const size_t SRT_SOCKOPT_NPOST = 13;
#else
static const size_t SRT_SOCKOPT_NPOST = 12;
#endif

extern const SRT_SOCKOPT srt_post_opt_list [];

enum GroupDataItem
Expand Down

0 comments on commit 16cb043

Please sign in to comment.