Skip to content

Commit

Permalink
rtcp: use rtcp_rtpfb_gnack_encode() function (#1233)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh authored Dec 14, 2024
1 parent 80b7546 commit 982f164
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/rtp/rtcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ static int encode_gnack(struct mbuf *mb, void *arg)
{
struct gnack *fci = arg;

int err = mbuf_write_u16(mb, htons(fci->pid));
err |= mbuf_write_u16(mb, htons(fci->blp));
return err;
return rtcp_rtpfb_gnack_encode(mb, fci->pid, fci->blp);
}


Expand Down

0 comments on commit 982f164

Please sign in to comment.