diff -r 17f3ca06e39a -r 4fca8bcfaff0 hedgewars/uVideoRec.pas --- 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);