aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;