]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11294: [mod_av] Fix mod_av build on Windows.
authorAndrey Volk <andywolk@gmail.com>
Mon, 30 Jul 2018 19:58:05 +0000 (22:58 +0300)
committerAndrey Volk <andywolk@gmail.com>
Mon, 30 Jul 2018 19:58:05 +0000 (22:58 +0300)
src/mod/applications/mod_av/avcodec.c

index 4614f23ee5fcc14aa8f19fd60b1ceaa644490113..cc1927a1175f238f5c9522abaf5314ba40bd5a28 100644 (file)
@@ -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;