aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/ffmpeg/lazarustest.lpr
blob: 56efac7580dc1b47643e6360a7266f77be10168a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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.