diff --git a/FFmpegSource2/ffmsindex.cpp b/FFmpegSource2/ffmsindex.cpp index cf876ba1d..e972caea1 100644 --- a/FFmpegSource2/ffmsindex.cpp +++ b/FFmpegSource2/ffmsindex.cpp @@ -21,6 +21,7 @@ #include #include +#include #include "ffms.h" int TrackMask; @@ -97,7 +98,7 @@ void ParseCMDLine (int argc, char *argv[]) { } -static int __stdcall UpdateProgress(int State, int64_t Current, int64_t Total, void *Private) { +static int FFMS_CC UpdateProgress(int State, int64_t Current, int64_t Total, void *Private) { using namespace std; int *LastPercentage = (int *)Private; int Percentage = int((double(Current)/double(Total)) * 100);