From 0dc49108c46c2d6073a6e24b5c3c0159fbd6d62c Mon Sep 17 00:00:00 2001 From: Karl Blomster Date: Mon, 15 Sep 2008 19:27:12 +0000 Subject: [PATCH] fixes for building on unix Originally committed to SVN as r2363. --- FFmpegSource2/ffmsindex.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);