fmt_rtp_hr_ietf.c: Fix error encoding this format

We used the wrong length constant during encoding of RTP-HR IETF style.
This commit is contained in:
Harald Welte 2017-05-28 21:06:20 +02:00
parent fa93cec8a1
commit 84f4f86fdf
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ rtp_hr_ietf_from_canon(uint8_t *dst, const uint8_t *src, unsigned int src_len)
/* copy codec payload */
memcpy(dst+1, src, src_len);
return HR_CANON_LEN;
return HR_LEN;
}
/* conversion function: canonical format -> RTP payload */