Skip to content

Commit

Permalink
Replaced exit() with a reset-to-default
Browse files Browse the repository at this point in the history
  • Loading branch information
9pt7 committed Feb 27, 2015
1 parent 1e343f4 commit 6c4e435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mbelib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c4e435

Please sign in to comment.