Changed spandsp from using TRUE and FALSE to using C99 true and false. It seems

like the quirks we used to get using those with C++ have gone away.
This commit is contained in:
Steve Underwood
2013-08-08 21:40:28 +08:00
parent bf9809c10c
commit 365fc08719
212 changed files with 3152 additions and 2664 deletions

View File

@@ -88,13 +88,13 @@ int main(int argc, char *argv[])
int encoded_fd;
const char *encoded_file_name;
const char *in_file_name;
int log_encoded_data;
bool log_encoded_data;
int opt;
bit_rate = 32000;
encoded_file_name = NULL;
in_file_name = IN_FILE_NAME;
log_encoded_data = FALSE;
log_encoded_data = false;
while ((opt = getopt(argc, argv, "2d:i:l")) != -1)
{
switch (opt)
@@ -109,7 +109,7 @@ int main(int argc, char *argv[])
in_file_name = optarg;
break;
case 'l':
log_encoded_data = TRUE;
log_encoded_data = true;
break;
default:
//usage();