Too little memory alloced.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16038 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-07-21 17:03:43 +00:00
parent 25d334c477
commit 9ef1db3243
1 changed files with 1 additions and 1 deletions

View File

@ -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;