From 63f6acfaa23d1404cea29c1b8492b095c03d2a93 Mon Sep 17 00:00:00 2001 From: tobigun Date: Wed, 14 May 2008 07:08:41 +0000 Subject: forgot to set the ENOSYS/E... error codes to the ESysE... ones from BaseUnix git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1090 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/lib/ffmpeg/avcodec.pas | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Game/Code/lib') diff --git a/Game/Code/lib/ffmpeg/avcodec.pas b/Game/Code/lib/ffmpeg/avcodec.pas index 277d76b9..5c26c29e 100644 --- a/Game/Code/lib/ffmpeg/avcodec.pas +++ b/Game/Code/lib/ffmpeg/avcodec.pas @@ -3228,8 +3228,16 @@ function av_parse_video_frame_rate(frame_rate: PAVRational; {const} str: PChar): {* error handling *} -{$IFNDEF UNIX} const +{$IFDEF UNIX} + ENOENT = ESysENOENT; + EIO = ESysEIO; + ENOMEM = ESysENOMEM; + EINVAL = ESysEINVAL; + EDOM = ESysEDOM; + ENOSYS = ESysENOSYS; + EILSEQ = ESysEILSEQ; +{$ELSE} ENOENT = 2; EIO = 5; ENOMEM = 12; -- cgit v1.2.3