aboutsummaryrefslogtreecommitdiffstats
path: root/src/media/UVideo.pas
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2012-07-14 12:58:03 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2012-07-14 12:58:03 +0000
commit7ff091f56cb965d06780e30fbf7cbaeab5fc0cb8 (patch)
tree56e7c7420214f087ac08da3afd1a0d5f5e2f2de0 /src/media/UVideo.pas
parent7c1b9be0d3462a15c9b37a1388e8d9910a8f6f96 (diff)
downloadusdx-7ff091f56cb965d06780e30fbf7cbaeab5fc0cb8.tar.gz
usdx-7ff091f56cb965d06780e30fbf7cbaeab5fc0cb8.tar.xz
usdx-7ff091f56cb965d06780e30fbf7cbaeab5fc0cb8.zip
fix pointer types.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2920 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/media/UVideo.pas')
-rw-r--r--src/media/UVideo.pas5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/media/UVideo.pas b/src/media/UVideo.pas
index 47c977bb..096860c0 100644
--- a/src/media/UVideo.pas
+++ b/src/media/UVideo.pas
@@ -53,6 +53,7 @@ implementation
uses
SysUtils,
Math,
+ ctypes,
SDL,
avcodec,
avformat,
@@ -119,7 +120,7 @@ type
fAVFrame: PAVFrame;
fAVFrameRGB: PAVFrame;
- fFrameBuffer: PByte; //**< stores a FFmpeg video frame
+ fFrameBuffer: Pcuint8; //**< stores a FFmpeg video frame
fFrameTex: GLuint; //**< OpenGL texture for FrameBuffer
fFrameTexValid: boolean; //**< if true, fFrameTex contains the current frame
fTexWidth, fTexHeight: cardinal;
@@ -633,7 +634,7 @@ var
errnum: integer;
AVPacket: TAVPacket;
pts: double;
- fileSize: integer;
+ fileSize: int64;
urlError: integer;
begin
Result := false;