mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
triple: avoid a crash in cPlayback destructor
This commit is contained in:
@@ -105,6 +105,8 @@ void cPlayback::Close(void)
|
|||||||
free(pesbuf);
|
free(pesbuf);
|
||||||
pesbuf = NULL;
|
pesbuf = NULL;
|
||||||
|
|
||||||
|
/* don't crash */
|
||||||
|
if (audioDecoder)
|
||||||
audioDecoder->do_mute(audioDecoder->Muted, false);
|
audioDecoder->do_mute(audioDecoder->Muted, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user