mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
triple: avoid a crash in cPlayback destructor
This commit is contained in:
@@ -105,7 +105,9 @@ void cPlayback::Close(void)
|
||||
free(pesbuf);
|
||||
pesbuf = NULL;
|
||||
|
||||
audioDecoder->do_mute(audioDecoder->Muted, false);
|
||||
/* don't crash */
|
||||
if (audioDecoder)
|
||||
audioDecoder->do_mute(audioDecoder->Muted, false);
|
||||
}
|
||||
|
||||
bool cPlayback::Start(char *filename, unsigned short vp, int vtype, unsigned short ap, int _ac3, unsigned int)
|
||||
|
Reference in New Issue
Block a user