From: Andrey Volk Date: Mon, 30 Jul 2018 19:58:05 +0000 (+0300) Subject: FS-11294: [mod_av] Fix mod_av build on Windows. X-Git-Tag: v1.8.2~1^2~95^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f61553da7916ec08739fb3c2537de572a67977e;p=thirdparty%2Ffreeswitch.git FS-11294: [mod_av] Fix mod_av build on Windows. --- diff --git a/src/mod/applications/mod_av/avcodec.c b/src/mod/applications/mod_av/avcodec.c index 4614f23ee5..cc1927a117 100644 --- a/src/mod/applications/mod_av/avcodec.c +++ b/src/mod/applications/mod_av/avcodec.c @@ -1677,14 +1677,14 @@ static void load_config() avcodec_globals.key_frame_min_freq *= 1000; } else if (!strcmp(name, "dec-threads")) { int i; - uint threads = switch_parse_cpu_string(value); + unsigned int threads = switch_parse_cpu_string(value); for (i = 0; i < MAX_CODECS; i++) { avcodec_globals.profiles[i].decoder_thread_count = threads; } } else if (!strcmp(name, "enc-threads")) { int i; - uint threads = switch_parse_cpu_string(value); + unsigned int threads = switch_parse_cpu_string(value); for (i = 0; i < MAX_CODECS; i++) { avcodec_globals.profiles[i].ctx.thread_count = threads;