aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/ffmpeg/avformat.pas
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/avformat.pas
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 'Game/Code/lib/ffmpeg/avformat.pas')
-rw-r--r--Game/Code/lib/ffmpeg/avformat.pas13
1 files changed, 11 insertions, 2 deletions
diff --git a/Game/Code/lib/ffmpeg/avformat.pas b/Game/Code/lib/ffmpeg/avformat.pas
index 0aa98905..6d13bcdf 100644
--- a/Game/Code/lib/ffmpeg/avformat.pas
+++ b/Game/Code/lib/ffmpeg/avformat.pas
@@ -19,6 +19,10 @@ unit avformat;
interface
+{$IFDEF FPC}
+ {$MODE Delphi}
+{$ENDIF}
+
uses
windows, avcodec, avio, rational, avutil;
@@ -554,6 +558,7 @@ const
const
FFM_PACKET_SIZE = 4096;
+ {$IFNDEF FPC}
function ffm_read_write_index (fd: integer): int64;
cdecl; external av__format;
@@ -562,20 +567,23 @@ const
procedure ffm_set_write_index (s: PAVFormatContext; pos: int64; file_size: int64);
cdecl; external av__format;
-
+ {$ENDIF}
+
function find_info_tag (arg: pchar; arg_size: integer; tag1: pchar; info: pchar): integer;
cdecl; external av__format;
+ {$IFNDEF FPC}
function get_frame_filename(buf: pchar; buf_size: integer;
path: pchar; number: integer): integer;
cdecl; external av__format;
+
function filename_number_test (filename: pchar): integer;
cdecl; external av__format;
-
(* grab specific *)
function video_grab_init (): integer;
cdecl; external av__format;
+
function audio_init (): integer;
cdecl; external av__format;
@@ -584,6 +592,7 @@ const
cdecl; external av__format;
function dc1394_init (): integer;
cdecl; external av__format;
+ {$ENDIF}
function strstart(str: pchar; val: pchar; ptr: PPointer): integer;
cdecl; external av__format;