mirror of https://gerrit.osmocom.org/gapk
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:
parent
fa93cec8a1
commit
84f4f86fdf
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue