aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/ffmpeg/lazarustest.lpr
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-13 11:39:57 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-13 11:39:57 +0000
commit5a778181e947cfb883f85d3239f6d1f1714dacc8 (patch)
treee9483aab9464d34d4d1171aa97504c6a283d54b0 /Game/Code/lib/ffmpeg/lazarustest.lpr
parentf0bf8c49eadf2656bf91a4b24a6ce5106b887b0a (diff)
downloadusdx-5a778181e947cfb883f85d3239f6d1f1714dacc8.tar.gz
usdx-5a778181e947cfb883f85d3239f6d1f1714dacc8.tar.xz
usdx-5a778181e947cfb883f85d3239f6d1f1714dacc8.zip
changes to make 3rd party libraries compile / work
in lazarus. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@387 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/lib/ffmpeg/lazarustest.lpr27
1 files changed, 27 insertions, 0 deletions
diff --git a/Game/Code/lib/ffmpeg/lazarustest.lpr b/Game/Code/lib/ffmpeg/lazarustest.lpr
new file mode 100644
index 00000000..56efac75
--- /dev/null
+++ b/Game/Code/lib/ffmpeg/lazarustest.lpr
@@ -0,0 +1,27 @@
+program lazarustest;
+
+{$MODE Delphi}
+
+uses
+
+ avcodec in 'avcodec.pas',
+ avformat in 'avformat.pas',
+ avutil in 'avutil.pas',
+ rational in 'rational.pas',
+ opt in 'opt.pas',
+ avio in 'avio.pas',
+ sysutils;
+
+begin
+ // This compiles with all units in..
+ // but I cant run it, if its compiled with lazarus or delphi
+ // I get errors about not finding functions in dll's
+
+ try
+// av_register_all();
+ writeln( 'If you see this then ffmpeg is probably lazarus compatible' );
+ except
+ writeln( 'ffmpeg is NOT lazarus compatible' );
+ end;
+end.
+