aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffmpeg
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2012-07-14 12:17:43 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2012-07-14 12:17:43 +0000
commit7c1b9be0d3462a15c9b37a1388e8d9910a8f6f96 (patch)
tree5f99a5e170a6724256386caf6d6a591149278255 /src/lib/ffmpeg
parent224fbfe4b038940bb16106bf1b606f0513833a21 (diff)
downloadusdx-7c1b9be0d3462a15c9b37a1388e8d9910a8f6f96.tar.gz
usdx-7c1b9be0d3462a15c9b37a1388e8d9910a8f6f96.tar.xz
usdx-7c1b9be0d3462a15c9b37a1388e8d9910a8f6f96.zip
fix size_t for Delphi. fix duplicate packet procedures in avformat and avcodec.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2919 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib/ffmpeg')
-rw-r--r--src/lib/ffmpeg/avcodec.pas6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ffmpeg/avcodec.pas b/src/lib/ffmpeg/avcodec.pas
index 139e4bc8..63ffa012 100644
--- a/src/lib/ffmpeg/avcodec.pas
+++ b/src/lib/ffmpeg/avcodec.pas
@@ -106,6 +106,12 @@ const
{$MESSAGE Error 'Linked version of libavcodec is not yet supported!'}
{$IFEND}
+{$IFNDEF FPC}
+type
+ // defines for Delphi
+ size_t = cardinal;
+{$ENDIF}
+
const
AV_NOPTS_VALUE: cint64 = $8000000000000000;
AV_TIME_BASE = 1000000;