libspark/playback: youtube URLs are easily longer than 400 bytes

Origin commit data
------------------
Branch: master
Commit: ac072c5a41
Author: martii <m4rtii@gmx.de>
Date: 2013-06-07 (Fri, 07 Jun 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-06-07 13:56:23 +02:00
parent 850da7f4c8
commit e3967f59f6

View File

@@ -125,8 +125,11 @@ bool cPlayback::Start(char *filename, unsigned short vpid, int vtype, unsigned s
mSubtitleStream=-1;
mDvbsubtitleStream=-1;
mTeletextStream=-1;
#endif
char *file = (char *) alloca(strlen(filename) + 1);
*file = 0;
#else
char file[400] = {""};
#endif
if(!strncmp("http://", filename, 7))
{