bluez5: fix SPA_PROP_bluetoothAudioCodec param prop setting

Remove 'const' from 'codec_id' declaration.
This commit is contained in:
Huang-Huang Bao 2021-03-27 09:27:33 +08:00
parent eaf3b3a3c9
commit bd7dba617f
No known key found for this signature in database
GPG key ID: 33C3271387A13D1B

View file

@ -1521,7 +1521,7 @@ static int impl_set_param(void *object,
}
case SPA_PARAM_Props:
{
const uint32_t codec_id = SPA_ID_INVALID;
uint32_t codec_id = SPA_ID_INVALID;
if (param == NULL)
return 0;