Skip to content

Commit

Permalink
srth: use define
Browse files Browse the repository at this point in the history
  • Loading branch information
funman committed Dec 21, 2023
1 parent 873677c commit cdfe353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/upipe-srt/upipe_srt_handshake.c
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ static struct uref *upipe_srt_handshake_handle_hs(struct upipe *upipe, const uin

if (version == SRT_HANDSHAKE_VERSION_MIN) {
struct uref *next = uref_block_alloc(upipe_srt_handshake->uref_mgr,
upipe_srt_handshake->ubuf_mgr, SRT_HEADER_SIZE + 12);
upipe_srt_handshake->ubuf_mgr, SRT_HEADER_SIZE + SRT_HANDSHAKE_HSREQ_SIZE);
if (!next)
upipe_throw_fatal(upipe, UBASE_ERR_ALLOC);
else {
Expand Down

0 comments on commit cdfe353

Please sign in to comment.