mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
a2dp: fix a warning
This commit is contained in:
parent
30755c4a44
commit
9b414b0a9e
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ static int codec_get_num_blocks(void *data)
|
|||
{
|
||||
struct impl *this = data;
|
||||
size_t rtp_size = sizeof(struct rtp_header) + sizeof(struct rtp_payload);
|
||||
size_t frame_count = SPA_MIN(this->mtu - rtp_size, 660) / this->frame_length;
|
||||
size_t frame_count = SPA_MIN(this->mtu - rtp_size, 660u) / this->frame_length;
|
||||
|
||||
/* frame_count is only 4 bit number */
|
||||
if (frame_count > 15)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue