[vdr] [PATCH] mp3-0.9.11 signals end of replay too late
Wolfgang Fritz
wolfgang.fritz at gmx.net
Sat Mar 12 10:38:39 CET 2005
Graphlcd crashes with segfault when stopping an MP3 replay because it
calls cMP3Control::GetIndex after the MP3 player object is already
destroyed.
Reason: MP3 plugin signals end of replay too late. The attaches patch
fixes it.
===================================================================
--- mp3.c (Revision 228)
+++ mp3.c (Arbeitskopie)
@@ -261,10 +261,10 @@
cMP3Control::~cMP3Control()
{
+ cStatus::MsgReplaying(this, NULL);
delete lastMode;
Hide();
Stop();
- cStatus::MsgReplaying(this, NULL);
}
void cMP3Control::Stop(void)
More information about the vdr
mailing list