mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
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:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user