go-astisrt icon indicating copy to clipboard operation
go-astisrt copied to clipboard

initializer element is not constant

Open oldma3095 opened this issue 1 year ago • 1 comments

static_consts.c

#include <srt/srt.h>

int32_t SRTGROUP_MASK_ = (1 << 30); int SRT_LIVE_DEF_PLSIZE_ = 1316; int SRT_LIVE_MAX_PLSIZE_ = 1456; int SRT_LIVE_DEF_LATENCY_MS_ = 120; SRTSOCKET SRT_INVALID_SOCK_ = -1; int SRT_ERROR_ = -1; int32_t SRT_SEQNO_NONE_ = -1; int32_t SRT_MSGNO_NONE_ = -1; int32_t SRT_MSGNO_CONTROL_ = 0; int SRT_MSGTTL_INF_ = -1; uint32_t SRT_GFLAG_SYNCONMSG_ = 1;

oldma3095 avatar Sep 20 '24 05:09 oldma3095

@oldma3095 can you describe your problem? I'm not getting it. Are you getting an error message? If so which libsrt are you using? On which OS? Or is it something entirely different?

asticode avatar Sep 20 '24 06:09 asticode