aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-02-05 13:57:27 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-02-05 13:57:27 +0000
commitc09529e6ab6ecbf2d5ba2ac8f29713ba0101e55a (patch)
tree01aa425e8a214a83c9dd69ec1a60c30900aaf52b /Game/Code/Classes
parent89ac41a2ccb85d6dfccb501ff4877231cab72094 (diff)
downloadusdx-c09529e6ab6ecbf2d5ba2ac8f29713ba0101e55a.tar.gz
usdx-c09529e6ab6ecbf2d5ba2ac8f29713ba0101e55a.tar.xz
usdx-c09529e6ab6ecbf2d5ba2ac8f29713ba0101e55a.zip
Removed the "use nil instead of 0" warnings
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@815 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UVideo.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/Game/Code/Classes/UVideo.pas b/Game/Code/Classes/UVideo.pas
index db7e3ffd..66c0c8e6 100644
--- a/Game/Code/Classes/UVideo.pas
+++ b/Game/Code/Classes/UVideo.pas
@@ -435,7 +435,7 @@ begin
VideoTime := 0;
LastFrameTime := 0;
TimeDifference := 0;
- VideoFormatContext := 0;
+ VideoFormatContext := nil;
// writeln( aFileName );
@@ -587,7 +587,7 @@ begin
{$IFDEF UseSWScale}
SoftwareScaleContext:=sws_getContext(VideoCodecContext^.width,VideoCodecContext^.height,integer(VideoCodecContext^.pix_fmt),
dataX, dataY, integer(PIX_FMT_RGB24),
- SWS_FAST_BILINEAR, 0, 0, 0);
+ SWS_FAST_BILINEAR, nil, nil, nil);
if SoftwareScaleContext <> Nil then
writeln('got swscale context')
else begin