mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
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:
@@ -327,8 +327,7 @@ cPlayback::cPlayback(int num __attribute__((unused)))
|
|||||||
|
|
||||||
cPlayback::~cPlayback()
|
cPlayback::~cPlayback()
|
||||||
{
|
{
|
||||||
if(player)
|
delete player;
|
||||||
delete player;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void cPlayback::RequestAbort() {
|
void cPlayback::RequestAbort() {
|
||||||
@@ -343,9 +342,7 @@ bool cPlayback::IsPlaying() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint64_t cPlayback::GetReadCount() {
|
uint64_t cPlayback::GetReadCount() {
|
||||||
if (player)
|
return player->readCount;
|
||||||
return player->readCount;
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int cPlayback::GetAPid(void)
|
int cPlayback::GetAPid(void)
|
||||||
|
Reference in New Issue
Block a user