diff --git a/src/frontend/qt_sdl/Platform_AAC.cpp b/src/frontend/qt_sdl/Platform_AAC.cpp index c1a83edc..c5921416 100644 --- a/src/frontend/qt_sdl/Platform_AAC.cpp +++ b/src/frontend/qt_sdl/Platform_AAC.cpp @@ -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;