提交 30fa89e0 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-8713 #resolve [crash on bad video rtp stream] #comment Pushed a patch to make…

FS-8713 #resolve [crash on bad video rtp stream] #comment Pushed a patch to make the sizes match.  This was the original intention since we want to preserve the packet as-is while in the jb
上级 852dd01c
...@@ -51,7 +51,7 @@ SWITCH_BEGIN_EXTERN_C ...@@ -51,7 +51,7 @@ SWITCH_BEGIN_EXTERN_C
typedef struct { typedef struct {
switch_rtp_hdr_t header; switch_rtp_hdr_t header;
char body[SWITCH_RTP_MAX_BUF_LEN]; char body[SWITCH_RTP_MAX_BUF_LEN+4+sizeof(char *)];
} switch_rtp_packet_t; } switch_rtp_packet_t;
typedef enum { typedef enum {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论