triple: avoid a crash in cPlayback destructor

This commit is contained in:
Stefan Seyfried
2013-03-03 22:07:56 +01:00
parent c191aba9ca
commit eb7f51252e

View File

@@ -105,6 +105,8 @@ void cPlayback::Close(void)
free(pesbuf);
pesbuf = NULL;
/* don't crash */
if (audioDecoder)
audioDecoder->do_mute(audioDecoder->Muted, false);
}