a2dp: fix sign of out_decoded

This commit is contained in:
Wim Taymans 2020-11-02 09:16:59 +01:00
parent c1530ba171
commit 395a30b5d6
2 changed files with 2 additions and 2 deletions

View file

@ -374,7 +374,7 @@ static int codec_encode(void *data,
int res;
res = sbc_encode(&this->sbc, src, src_size,
dst, dst_size, dst_out);
dst, dst_size, (ssize_t*)dst_out);
if (res >= this->codesize)
this->payload->frame_count += res / this->codesize;