aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/ffmpeg/rational.pas
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-10-11 10:50:01 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-10-11 10:50:01 +0000
commit0d997f8433e982584a0ab67a6d630d12f4314759 (patch)
treedc5ec28147f1b419d6513b5b30d253f905e9f966 /Game/Code/lib/ffmpeg/rational.pas
parent97a179d3ac5ce99d5e43406f2f66285576eefaf9 (diff)
downloadusdx-0d997f8433e982584a0ab67a6d630d12f4314759.tar.gz
usdx-0d997f8433e982584a0ab67a6d630d12f4314759.tar.xz
usdx-0d997f8433e982584a0ab67a6d630d12f4314759.zip
fixes so codebase builds in delphi now, after major FFMpeg changse for linux.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@503 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/lib/ffmpeg/rational.pas')
-rw-r--r--Game/Code/lib/ffmpeg/rational.pas17
1 files changed, 11 insertions, 6 deletions
diff --git a/Game/Code/lib/ffmpeg/rational.pas b/Game/Code/lib/ffmpeg/rational.pas
index bd2cc94f..8fb3cbd8 100644
--- a/Game/Code/lib/ffmpeg/rational.pas
+++ b/Game/Code/lib/ffmpeg/rational.pas
@@ -21,16 +21,21 @@ For Mac OS X, some modifications were made by The Creative CAT, denoted as CAT
in the source codes *)
unit rational;
-{$MODE DELPHI} (* CAT *)
-{$PACKENUM 4} (* every enum type variables uses 4 bytes, CAT *)
-{$PACKRECORDS C} (* GCC compatible, Record Packing, CAT *)
+{$IFDEF FPC}
+ {$MODE DELPHI} (* CAT *)
+ {$PACKENUM 4} (* every enum type variables uses 4 bytes, CAT *)
+ {$PACKRECORDS C} (* GCC compatible, Record Packing, CAT *)
+{$ENDIF}
interface (* unit windows is deleted by CAT *)
const
-(* version numbers are changed by The Creative CAT *)
- av__util = 'libavutil.49';
-
+ {$IFDEF win32}
+ av__util = 'avutil-49.dll';
+ {$ELSE}
+ av__util = 'libavutil.so'; // .0d
+// av__util = 'libavutil.49';
+ {$ENDIF}
type
(*