aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/ffmpeg/avutil.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/lib/ffmpeg/avutil.pas7
1 files changed, 7 insertions, 0 deletions
diff --git a/Game/Code/lib/ffmpeg/avutil.pas b/Game/Code/lib/ffmpeg/avutil.pas
index 906d9041..c27dd735 100644
--- a/Game/Code/lib/ffmpeg/avutil.pas
+++ b/Game/Code/lib/ffmpeg/avutil.pas
@@ -61,6 +61,13 @@ const
{$MESSAGE Warn 'Linked version of libavutil may be unsupported!'}
{$IFEND}
+{$IFDEF FPC}
+ // check for version of FPC < 2.2.0
+ {$IF (FPC_VERSION < 2) or ((FPC_VERSION = 2) and (FPC_RELEASE < 2))}
+ type uint64 = QWord;
+ {$IFEND}
+{$ENDIF}
+
type
(**
* Pixel format. Notes: