mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libarmbox/playback_libeplayer3.cpp: fix segfault when start webstream at first, thx DboxOldie
Origin commit data
------------------
Branch: master
Commit: 7aeb54a410
Author: Frankenstone <dampf_acc@online.de>
Date: 2020-02-24 (Mon, 24 Feb 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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
|
const int max_numpida = 40;//MAX_PLAYBACK_PIDS defined in neutrino movieplayer.h
|
||||||
*numpida = 0;
|
*numpida = 0;
|
||||||
|
|
||||||
if (player && player->manager && player->manager->audio)
|
if (player && player->playback && player->playback->isPlaying && player->manager && player->manager->audio)
|
||||||
{
|
{
|
||||||
char **TrackList = NULL;
|
char **TrackList = NULL;
|
||||||
player->manager->audio->Command(player, MANAGER_LIST, &TrackList);
|
player->manager->audio->Command(player, MANAGER_LIST, &TrackList);
|
||||||
|
Reference in New Issue
Block a user