libspark/playback_libeplayer3: no need to check for player

Origin commit data
------------------
Branch: master
Commit: 6b763f8393
Author: martii <m4rtii@gmx.de>
Date: 2014-04-12 (Sat, 12 Apr 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2014-04-12 13:11:01 +02:00
parent f171f2378c
commit f8bcbc51c6

View File

@@ -327,8 +327,7 @@ cPlayback::cPlayback(int num __attribute__((unused)))
cPlayback::~cPlayback()
{
if(player)
delete player;
delete player;
}
void cPlayback::RequestAbort() {
@@ -343,9 +342,7 @@ bool cPlayback::IsPlaying() {
}
uint64_t cPlayback::GetReadCount() {
if (player)
return player->readCount;
return 0;
return player->readCount;
}
int cPlayback::GetAPid(void)