aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/ffmpeg/mathematics.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-07-03 18:47:28 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-07-03 18:47:28 +0000
commit38cdf2cd93ee7ff0bf224a9577f995e354ffb147 (patch)
treeed603ae722e1c72fcd66d34ad219129a06c6d294 /Game/Code/lib/ffmpeg/mathematics.pas
parent955de6842fb816daee68b38ac06c51f579e0b8ed (diff)
downloadusdx-38cdf2cd93ee7ff0bf224a9577f995e354ffb147.tar.gz
usdx-38cdf2cd93ee7ff0bf224a9577f995e354ffb147.tar.xz
usdx-38cdf2cd93ee7ff0bf224a9577f995e354ffb147.zip
ffmpeg pascal header 64bit compatibility fix.
Further headers will follow. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1160 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/lib/ffmpeg/mathematics.pas')
-rw-r--r--Game/Code/lib/ffmpeg/mathematics.pas7
1 files changed, 4 insertions, 3 deletions
diff --git a/Game/Code/lib/ffmpeg/mathematics.pas b/Game/Code/lib/ffmpeg/mathematics.pas
index ede9530f..331178e1 100644
--- a/Game/Code/lib/ffmpeg/mathematics.pas
+++ b/Game/Code/lib/ffmpeg/mathematics.pas
@@ -38,6 +38,7 @@ unit mathematics;
interface
uses
+ ctypes,
rational,
UConfig;
@@ -54,20 +55,20 @@ type
* rescale a 64bit integer with rounding to nearest.
* a simple a*b/c isn't possible as it can overflow
*)
-function av_rescale (a, b, c: int64): int64;
+function av_rescale (a, b, c: cint64): cint64;
cdecl; external av__util; {av_const}
(**
* rescale a 64bit integer with specified rounding.
* a simple a*b/c isn't possible as it can overflow
*)
-function av_rescale_rnd (a, b, c: int64; enum: TAVRounding): int64;
+function av_rescale_rnd (a, b, c: cint64; enum: TAVRounding): cint64;
cdecl; external av__util; {av_const}
(**
* rescale a 64bit integer by 2 rational numbers.
*)
-function av_rescale_q (a: int64; bq, cq: TAVRational): int64;
+function av_rescale_q (a: cint64; bq, cq: TAVRational): cint64;
cdecl; external av__util; {av_const}
implementation