Replaced exit() with a reset-to-default

This commit is contained in:
9pt7 2015-02-27 16:05:45 -04:00
parent 1e343f40dd
commit 6c4e4357bf
1 changed files with 2 additions and 2 deletions

View File

@ -240,8 +240,8 @@ mbe_synthesizeSpeechf (float *aout_buf, mbe_parms * cur_mp, mbe_parms * prev_mp,
if ((uvquality < 1) || (uvquality > 64))
{
printf ("\nmbelib: Error - uvquality must be within the range 1 - 64\n");
exit (1);
printf ("\nmbelib: Error - uvquality must be within the range 1 - 64, setting to default value of 3\n");
uvquality = 3;
}
// calculate loguvquality