aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffmpeg-0.9/avutil.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ffmpeg-0.9/avutil.pas')
-rw-r--r--src/lib/ffmpeg-0.9/avutil.pas10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/ffmpeg-0.9/avutil.pas b/src/lib/ffmpeg-0.9/avutil.pas
index 9a2ef4ed..acb06237 100644
--- a/src/lib/ffmpeg-0.9/avutil.pas
+++ b/src/lib/ffmpeg-0.9/avutil.pas
@@ -78,6 +78,13 @@ const
{$MESSAGE Error 'Linked version of libavutil is not yet supported!'}
{$IFEND}
+type
+{$IFNDEF FPC}
+ // defines for Delphi
+ size_t = cardinal;
+{$ENDIF}
+ Psize_t = ^size_t;
+
(**
* Return the LIBAVUTIL_VERSION_INT constant.
*)
@@ -235,9 +242,6 @@ begin
Result := (ord(d) or (ord(c) shl 8) or (ord(b) shl 16) or (ord(a) shl 24));
end;
-type
- Psize_t = ^size_t;
-
function av_size_mult(a: size_t; b: size_t; r: Psize_t): size_t;
cdecl; external av__util;
(* To Be Implemented, March 2012 KMS *)