mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libspark/playback_libeplayer3: no need for alloca()
This commit is contained in:
@@ -112,7 +112,7 @@ bool cPlayback::Start(char *filename, unsigned short vpid, int vtype, unsigned s
|
|||||||
mSubtitleStream=-1;
|
mSubtitleStream=-1;
|
||||||
mDvbsubtitleStream=-1;
|
mDvbsubtitleStream=-1;
|
||||||
mTeletextStream=-1;
|
mTeletextStream=-1;
|
||||||
char *file = (char *) alloca(strlen(filename) + 1);
|
char file[strlen(filename) + 1];
|
||||||
*file = 0;
|
*file = 0;
|
||||||
|
|
||||||
if(!strncmp("http://", filename, 7))
|
if(!strncmp("http://", filename, 7))
|
||||||
|
Reference in New Issue
Block a user