From e12fe1f44f06e444675b39d0081627cfa9f6b80d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 28 Sep 2010 16:49:55 +0000 Subject: 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 --- src/qmmp/statehandler.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-13-gbd6f