mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libspark/playback_libeplayer3: no need for alloca()
Origin commit data
------------------
Branch: master
Commit: fc9108b06a
Author: martii <m4rtii@gmx.de>
Date: 2013-06-26 (Wed, 26 Jun 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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