mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
triple: set audioDecoder to NULL in destructor
this avoids blowing up in the CPlayback destructor
This commit is contained in:
@@ -49,6 +49,7 @@ cAudio::~cAudio(void)
|
|||||||
if (P->mixer_fd >= 0)
|
if (P->mixer_fd >= 0)
|
||||||
close(P->mixer_fd);
|
close(P->mixer_fd);
|
||||||
free(pdata);
|
free(pdata);
|
||||||
|
audioDecoder = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cAudio::mute(void)
|
int cAudio::mute(void)
|
||||||
|
Reference in New Issue
Block a user