mirror of https://github.com/mpv-player/mpv
Too little memory alloced.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16038 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
25d334c477
commit
9ef1db3243
|
@ -243,7 +243,7 @@ static int preinit(sh_audio_t *sh){
|
|||
#endif
|
||||
int i;
|
||||
// used by 'SIPR'
|
||||
path = realloc(path, strlen(REALCODEC_PATH) + 12);
|
||||
path = realloc(path, strlen(REALCODEC_PATH) + 13);
|
||||
sprintf(path, "DT_Codecs=" REALCODEC_PATH);
|
||||
if(path[strlen(path)-1]!='/'){
|
||||
path[strlen(path)+1]=0;
|
||||
|
|
Loading…
Reference in New Issue