aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/ffmpeg/avcodec.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/avcodec.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/avcodec.pas')
-rw-r--r--Game/Code/lib/ffmpeg/avcodec.pas6
1 files changed, 4 insertions, 2 deletions
diff --git a/Game/Code/lib/ffmpeg/avcodec.pas b/Game/Code/lib/ffmpeg/avcodec.pas
index 978b5fb6..ce08dcc9 100644
--- a/Game/Code/lib/ffmpeg/avcodec.pas
+++ b/Game/Code/lib/ffmpeg/avcodec.pas
@@ -576,7 +576,7 @@ type
of AVIn/OutputFormat *)
item_name: function (): pchar; cdecl;
option: PAVOption;
- end;
+ end;
TAVCodecContext = record {720}
(*** Info on struct for av_log
@@ -1792,11 +1792,13 @@ procedure av_resample_close (c: PAVResampleContext);
got_sub_ptr: pinteger;
const buf: pchar; buf_size: integer): integer;
cdecl; external av__codec;
+
+ {$IFNDEF FPC}
function avcodec_parse_frame (avctx: PAVCodecContext; pdata: PPointer;
data_size_ptr: pinteger;
buf: pchar; buf_size: integer): integer;
cdecl; external av__codec;
-
+ {$ENDIF}
function avcodec_encode_audio (avctx: PAVCodecContext; buf: PByte;
buf_size: integer; const samples: Pword): integer;
cdecl; external av__codec;