mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libarmbox/playback_libeplayer3.cpp: fix segfault when start webstream at first, thx DboxOldie
This commit is contained in:
@@ -524,7 +524,7 @@ void cPlayback::FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint16_t
|
||||
const int max_numpida = 40;//MAX_PLAYBACK_PIDS defined in neutrino movieplayer.h
|
||||
*numpida = 0;
|
||||
|
||||
if (player && player->manager && player->manager->audio)
|
||||
if (player && player->playback && player->playback->isPlaying && player->manager && player->manager->audio)
|
||||
{
|
||||
char **TrackList = NULL;
|
||||
player->manager->audio->Command(player, MANAGER_LIST, &TrackList);
|
||||
|
Reference in New Issue
Block a user