mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user