mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 06:01:53 +00:00
[1.28.04] Don't join [v][z] to a liquid [l][r][w][j] across a word boundary.
Changes voice variant file names in espeak_data/voices/!v from !variant12 etc to !varnt12 for DOS 8 character filename limit. Use a separate phoneme translation file for Swedish voice mbrola "sw2". Updates languages dictionaries "af", "sv" git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@73 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+2
-2
@@ -265,8 +265,8 @@ int GetFileLength(const char *filename)
|
||||
char *Alloc(int size)
|
||||
{//==================
|
||||
char *p;
|
||||
if((p = (char *)malloc(size)) == NULL)
|
||||
fprintf(stderr,"Can't allocate memory\n");
|
||||
if((p = (char *)malloc(size+1)) == NULL)
|
||||
fprintf(stderr,"Can't allocate memory\n"); // I was told that size+1 fixes a crash on 64-bit systems
|
||||
return(p);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user