diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-09-28 16:49:55 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-09-28 16:49:55 +0000 |
| commit | e12fe1f44f06e444675b39d0081627cfa9f6b80d (patch) | |
| tree | d811f023b24382939d87d93d5e90747918ca7df5 | |
| parent | 7e1ad14d875b59d7338bdcd76ba4b8145ee68df2 (diff) | |
| download | qmmp-e12fe1f44f06e444675b39d0081627cfa9f6b80d.tar.gz qmmp-e12fe1f44f06e444675b39d0081627cfa9f6b80d.tar.bz2 qmmp-e12fe1f44f06e444675b39d0081627cfa9f6b80d.zip | |
fixed possible segmentation fault with mplayer engine
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1919 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/qmmp/statehandler.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qmmp/statehandler.cpp b/src/qmmp/statehandler.cpp index e2f3f6d5a..520346bde 100644 --- a/src/qmmp/statehandler.cpp +++ b/src/qmmp/statehandler.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2009 by Ilya Kotov * + * Copyright (C) 2008-2010 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -138,9 +138,8 @@ void StateHandler::dispatch(Qmmp::State state) m_channels = 0; m_next_engine = 0; m_metaData.clear(); - } - if(state == Qmmp::Playing) m_sendAboutToFinish = true; + } if (m_state != state) { QStringList states; |
