From acbfb7d0bb54a591332dc9030ae377dcfac19fac Mon Sep 17 00:00:00 2001 From: chriszero Date: Tue, 13 Jan 2015 23:06:20 +0100 Subject: more Error handling. Segfaults on libpoco < 1.4 --- hlsPlayer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hlsPlayer.h') diff --git a/hlsPlayer.h b/hlsPlayer.h index 8d8bdb8..a07a4bf 100644 --- a/hlsPlayer.h +++ b/hlsPlayer.h @@ -38,8 +38,8 @@ private: bool ConnectToServer(void); void CloseConnection(void); - void LoadStartList(void); - void LoadIndexList(void); + bool LoadStartList(void); + bool LoadIndexList(void); std::string GetSegmentUri(int segmentIndex) const; int GetSegmentSize(int segmentIndex); bool LoadSegment(std::string uri); -- cgit v1.2.3