]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7519: fix build issue with clang-3.5
authorWilliam King <william.king@quentustech.com>
Tue, 26 May 2015 15:41:35 +0000 (08:41 -0700)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:47:34 +0000 (12:47 -0500)
src/mod/applications/mod_av/avcodec.c
src/mod/applications/mod_av/mod_av.c

index c2a93d504bd64996c0b530f5b657cdbc649b2fbc..ab6205ae011fbbae7fc3ea43ecdd508919b0c723 100644 (file)
@@ -867,8 +867,6 @@ SWITCH_STANDARD_API(av_codec_api_function)
        return SWITCH_STATUS_SUCCESS;
 }
 
-static const char modname[] = "mod_av";
-
 SWITCH_MODULE_LOAD_FUNCTION(mod_avcodec_load)
 {
        switch_codec_interface_t *codec_interface;
index cc3728b038d43bd29e315a725442e26d014b565e..45d5a19e1f79a7775a6d28e7b367579b6bc183fd 100644 (file)
@@ -40,6 +40,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_av_load);
 SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_av_shutdown);
 SWITCH_MODULE_DEFINITION(mod_av, mod_av_load, mod_av_shutdown, NULL);
 
+static const char modname[] = "mod_av";
 
 static void log_callback(void *ptr, int level, const char *fmt, va_list vl)
 {