aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-05-14 07:08:41 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-05-14 07:08:41 +0000
commit63f6acfaa23d1404cea29c1b8492b095c03d2a93 (patch)
tree7be38ba260292e97f6820f83a6d2e1480a7c4f11 /Game/Code/lib
parent3af68ff0276ca4ab0ec601f9414b090d00f70321 (diff)
downloadusdx-63f6acfaa23d1404cea29c1b8492b095c03d2a93.tar.gz
usdx-63f6acfaa23d1404cea29c1b8492b095c03d2a93.tar.xz
usdx-63f6acfaa23d1404cea29c1b8492b095c03d2a93.zip
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
Diffstat (limited to '')
-rw-r--r--Game/Code/lib/ffmpeg/avcodec.pas10
1 files changed, 9 insertions, 1 deletions
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;