Fix a bug whereby the resync time would be zero, meaning no resync would occur.

This commit is contained in:
Mike Brady
2017-01-30 22:55:58 +00:00
parent 0cb76648c8
commit 957249f5f9
+2 -2
View File
@@ -258,8 +258,8 @@ int parse_options(int argc, char **argv) {
char *stuffing = NULL; /* used for picking up the stuffing option */
signed char c; /* used for argument parsing */
int i = 0; /* used for tracking options */
int fResyncthreshold = (int)config.resyncthreshold*44100;
int fTolerance = (int)config.tolerance*44100;
int fResyncthreshold = (int)(config.resyncthreshold*44100);
int fTolerance = (int)(config.tolerance*44100);
poptContext optCon; /* context for parsing command-line options */
struct poptOption optionsTable[] = {
{"verbose", 'v', POPT_ARG_NONE, NULL, 'v', NULL},