From c09529e6ab6ecbf2d5ba2ac8f29713ba0101e55a Mon Sep 17 00:00:00 2001 From: tobigun Date: Tue, 5 Feb 2008 13:57:27 +0000 Subject: 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 --- Game/Code/Classes/UVideo.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Game/Code') 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 -- cgit v1.2.3