Merge pull request #1254 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-10246-fix-vpx-codecs-for-windows-build to master

* commit 'f33c68cda8811453f7ea6875b8098efdfa053f44':
  FS-10246 [Core] Fix VPX codecs for windows build
This commit is contained in:
Mike Jerris
2017-04-26 22:28:10 +00:00
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -259,6 +259,10 @@ static inline int IS_VP8_KEY_FRAME(uint8_t *data)
#define IS_VP9_KEY_FRAME(byte) ((((byte) & 0x40) == 0) && ((byte) & 0x0A))
#define IS_VP9_START_PKT(byte) ((byte) & 0x08)
#ifdef WIN32
#undef SWITCH_MOD_DECLARE_DATA
#define SWITCH_MOD_DECLARE_DATA __declspec(dllexport)
#endif
SWITCH_MODULE_LOAD_FUNCTION(mod_vpx_load);
SWITCH_MODULE_DEFINITION(CORE_VPX_MODULE, mod_vpx_load, NULL, NULL);