mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 15:33:00 +02:00
libspark/playback: youtube URLs are easily longer than 400 bytes
This commit is contained in:
@@ -125,8 +125,11 @@ bool cPlayback::Start(char *filename, unsigned short vpid, int vtype, unsigned s
|
|||||||
mSubtitleStream=-1;
|
mSubtitleStream=-1;
|
||||||
mDvbsubtitleStream=-1;
|
mDvbsubtitleStream=-1;
|
||||||
mTeletextStream=-1;
|
mTeletextStream=-1;
|
||||||
#endif
|
char *file = (char *) alloca(strlen(filename) + 1);
|
||||||
|
*file = 0;
|
||||||
|
#else
|
||||||
char file[400] = {""};
|
char file[400] = {""};
|
||||||
|
#endif
|
||||||
|
|
||||||
if(!strncmp("http://", filename, 7))
|
if(!strncmp("http://", filename, 7))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user