forked from mia/Aegisub
fixes for building on unix
Originally committed to SVN as r2363.
This commit is contained in:
parent
6aea170a2e
commit
0dc49108c4
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <stdlib.h>
|
||||
#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);
|
||||
|
|
Loading…
Reference in a new issue