diff --git a/libmpcodecs/ad_realaud.c b/libmpcodecs/ad_realaud.c index 0c7c3af61c..949414adfc 100644 --- a/libmpcodecs/ad_realaud.c +++ b/libmpcodecs/ad_realaud.c @@ -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;