提交 a22b9ddc authored 作者: Mike Jerris's avatar Mike Jerris

Merge pull request #1254 in FS/freeswitch from…

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

* commit 'f33c68cd':
  FS-10246 [Core] Fix VPX codecs for windows build
......@@ -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);
......
......@@ -467,6 +467,7 @@ if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs
<ClCompile Include="..\..\src\switch_time.c" />
<ClCompile Include="..\..\src\switch_utils.c" />
<ClCompile Include="..\..\src\switch_version.c" />
<ClCompile Include="..\..\src\switch_vpx.c" />
<ClCompile Include="..\..\src\switch_jitterbuffer.c" />
<ClCompile Include="..\..\src\switch_xml.c" />
<ClCompile Include="..\..\src\switch_xml_config.c" />
......@@ -797,6 +798,7 @@ if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs
<ClInclude Include="..\..\src\include\switch_types.h" />
<ClInclude Include="..\..\src\include\switch_utils.h" />
<ClInclude Include="..\..\src\include\switch_version.h" />
<ClInclude Include="..\..\src\include\switch_vpx.h" />
<ClInclude Include="..\..\src\include\switch_xml.h" />
<ClInclude Include="..\..\src\include\switch_xml_config.h" />
</ItemGroup>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论