diff options
author | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-01-09 22:34:12 +0000 |
---|---|---|
committer | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-01-09 22:34:12 +0000 |
commit | 69ca319d60b756db31c104b9d40df8371c2d5337 (patch) | |
tree | 55682aed8ec9821eb4ee0197365c73895eb5bd9b /Game/Code/lib/ffmpeg/avcodec.pas | |
parent | bb15f9bc1bbe2e53778c38faab2ffc3169a99c18 (diff) | |
download | usdx-69ca319d60b756db31c104b9d40df8371c2d5337.tar.gz usdx-69ca319d60b756db31c104b9d40df8371c2d5337.tar.xz usdx-69ca319d60b756db31c104b9d40df8371c2d5337.zip |
Changed DLL/so/dylib constants.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@772 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/lib/ffmpeg/avcodec.pas | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/Game/Code/lib/ffmpeg/avcodec.pas b/Game/Code/lib/ffmpeg/avcodec.pas index bcfe9809..4182b979 100644 --- a/Game/Code/lib/ffmpeg/avcodec.pas +++ b/Game/Code/lib/ffmpeg/avcodec.pas @@ -23,10 +23,11 @@ in the source codes *) unit avcodec;
{$IFDEF FPC}
- {$IFNDEF win32}
- {$LINKLIB libavutil}
- {$LINKLIB libavcodec}
+ {$IFDEF LINUX}
+ {$LINKLIB libavutil}
+ {$LINKLIB libavcodec}
{$ENDIF}
+
{$MODE DELPHI } (* CAT *)
{$PACKENUM 4} (* every enum type variables uses 4 bytes, CAT *)
{$PACKRECORDS C} (* GCC compatible, Record Packing, CAT *)
@@ -38,11 +39,15 @@ uses avutil, rational, opt; // CAT
const
-{$IFDEF win32}
+
+{$IFDEF MSWINDOWS}
av__format = 'avformat-50.dll';
-{$ELSE}
- av__format = 'libavformat.so'; // .0d
-// av__format = 'libavformat.51';
+{$ENDIF}
+{$IFDEF LINUX}
+ av__format = 'libavformat.so';
+{$ENDIF}
+{$IFDEF DARWIN}
+ av__format = 'libavformat.dylib';
{$ENDIF}
|