minor fix

This commit is contained in:
Arisotura 2025-07-31 10:42:34 +02:00
parent ef80177707
commit 2923cfdf1b
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ void AAC_DeInit(AACDecoder* dec)
bool AAC_Configure(AACDecoder* dec, int frequency, int channels)
{
if (dec->inited)
if (dec->handle)
{
NeAACDecClose(dec->handle);
dec->handle = nullptr;