check version

This commit is contained in:
ZZyVSmOzMz OZaAEBlUIZ 2025-06-22 12:30:53 +00:00
parent ae1f79c514
commit 541b6fca27

View file

@ -470,7 +470,11 @@ static void *codec_init(const struct media_codec *codec, uint32_t flags,
#endif
#ifdef ENABLE_LDAC_ABR
this->ldac_abr = ldac_ABR_get_handle(NULL);
#ifdef ENABLE_LDAC_DEC
this->ldac_abr = ldac_ABR_get_handle(NULL);
#else
this->ldac_abr = ldac_ABR_get_handle();
#endif
if (this->ldac_abr == NULL)
goto error_errno;
#endif