Corrected an issue with the Windows builds after the previous merge

This commit is contained in:
Carlos Fernandez 2018-01-24 18:12:26 -08:00
parent dcc9d0c4af
commit 267abc2050
4 changed files with 2 additions and 6 deletions

View File

@ -14,7 +14,7 @@ void Asprintf(char **strp, const char *fmt, ...) {
if (ret == -1) {
printf("Error: Some problem with asprintf return value in extractor.c\nExiting.");
exit(500);
exit(CCX_COMMON_EXIT_BUG_BUG);
}
}

View File

@ -654,7 +654,7 @@ int vasprintf(char **strp, const char *fmt, va_list ap)
va_copy(tmp_va, ap);
#ifdef _WIN32
len = _vscprintf(fmt, ap1);
len = _vscprintf(fmt, ap);
#else
len = vsnprintf(NULL, 0, fmt, tmp_va);
#endif

View File

@ -134,7 +134,6 @@
<ClInclude Include="..\src\freetype\include\freetype\config\ftstdlib.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\extractors\extractor.c" />
<ClCompile Include="..\src\gpacmp4\box_dump.c" />
<ClCompile Include="..\src\gpacmp4\hint_track.c" />
<ClCompile Include="..\src\freetype\gzip\ftgzip.c" />

View File

@ -833,9 +833,6 @@
<ClCompile Include="..\src\lib_ccx\matroska.c">
<Filter>Source Files\lib_ccx</Filter>
</ClCompile>
<ClCompile Include="..\src\extractors\extractor.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\wrappers\wrapper.c">
<Filter>Source Files</Filter>
</ClCompile>