From 7c1b9be0d3462a15c9b37a1388e8d9910a8f6f96 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sat, 14 Jul 2012 12:17:43 +0000 Subject: 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 --- src/lib/ffmpeg/avcodec.pas | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib/ffmpeg') 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; -- cgit v1.2.3