hedgewars/uVideoRec.pas
changeset 10306 4fca8bcfaff0
parent 10108 c68cf030eded
child 10309 e338ccbbe100
--- a/hedgewars/uVideoRec.pas	Sat Jun 14 23:59:20 2014 +0200
+++ b/hedgewars/uVideoRec.pas	Sun Jun 15 00:02:25 2014 +0200
@@ -117,7 +117,7 @@
         , PChar(ansistring(cVideoCodec))
         , PChar(ansistring(cAudioCodec))
         , cScreenWidth, cScreenHeight, cVideoFramerateNum, cVideoFramerateDen, cVideoQuality) < 0 then
-        halt(-1);
+        halt(HaltFatalError);
 
     numPixels:= cScreenWidth*cScreenHeight;
     YCbCr_Planes[0]:= GetMem(numPixels);