Skip to content

Commit

Permalink
rtcp: use rtcp_rtpfb_gnack_encode() function
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Dec 14, 2024
1 parent 80b7546 commit db19b6b
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 db19b6b

Please sign in to comment.