scummvm/image/codecs
Orgad Shaneh 7a4e5612de JANITORIAL: Replace new[]/memset with new[]()
Mostly done using the following Ruby script:

(Dir.glob('**/*.cpp') + Dir.glob('**/*.h')).each do |file|
  s = File.read(file, encoding: 'iso8859-1')
  t = s.gsub(/(([\w_.\[\]]+)\s*=\s*new\s+\S+?\[[^\]]+?\](?!\())([^\{\}]*?)\n\s+memset\(\s*\2\s*,\s*0\s*,[^;]*;/m, '\1()\3')
  if t != s
    File.open(file, 'w') { |io| io.write(t) }
  end
end
2021-11-10 19:53:15 +01:00
..
indeo IMAGE: Fix Missing Default Switch Cases 2019-11-30 22:08:44 +00:00
bmp_raw.cpp IMAGE: Fix BitmapRawDecoder constructor regression 2021-11-04 00:46:46 -05:00
bmp_raw.h IMAGE: Fix BitmapRawDecoder constructor regression 2021-11-04 00:46:46 -05:00
cdtoons.cpp COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
cdtoons.h
cinepak_tables.h
cinepak.cpp IMAGE: Explicitly initialize CinePak codebooks 2018-04-07 10:03:50 +02:00
cinepak.h IMAGE: Explicitly initialize CinePak codebooks 2018-04-07 10:03:50 +02:00
codec.cpp JANITORIAL: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
codec.h IMAGE: Add support for Crusader: No Remorse movie decoding 2020-05-11 07:54:24 +02:00
hlz.cpp CRYOMNI3D: Move HNMDecoder into common code 2021-04-17 21:48:45 +03:00
hlz.h CRYOMNI3D: Move HNMDecoder into common code 2021-04-17 21:48:45 +03:00
indeo3.cpp JANITORIAL: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
indeo3.h
indeo4.cpp IMAGE: Fix Missing Default Switch Cases 2019-11-30 22:08:44 +00:00
indeo4.h IMAGE: Add support for Indeo4 transparency plane 2017-08-24 20:34:16 -05:00
indeo5.cpp IMAGE: Fix Missing Default Switch Cases 2019-11-30 22:08:44 +00:00
indeo5.h
jyv1.cpp IMAGE: Make JYV1 decoder a little more robust to bad data 2021-07-25 15:40:03 +09:00
jyv1.h IMAGE: Add support for Crusader: No Remorse movie decoding 2020-05-11 07:54:24 +02:00
mjpeg.cpp IMAGE: Allow setting the output pixel format to the JPEG decoder 2019-04-28 07:59:14 +02:00
mjpeg.h
mpeg.cpp IMAGE: Move mpeg2dec.h inclusion in CPP file 2021-02-13 17:49:21 +01:00
mpeg.h IMAGE: Move mpeg2dec.h inclusion in CPP file 2021-02-13 17:49:21 +01:00
msrle4.cpp
msrle4.h
msrle.cpp
msrle.h
msvideo1.cpp COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
msvideo1.h
qtrle.cpp IMAGE: change the type of rleCode to int to prevent overflow. 2021-08-05 17:42:10 +08:00
qtrle.h
rpza.cpp JANITORIAL: Add fall through statement 2017-08-11 21:40:11 +02:00
rpza.h
smc.cpp IMAGE: Fix SMC decoder 2021-08-10 20:51:42 +02:00
smc.h
svq1_cb.h
svq1_vlc.h
svq1.cpp IMAGE: Fix Missing Default Switch Cases 2019-11-30 22:08:44 +00:00
svq1.h COMMON: Use a prefix table to speed up the Huffman decoder 2019-04-13 16:24:25 +03:00
truemotion1.cpp IMAGE: Fix Missing Default Switch Case in Truemotion 1 Codec 2019-12-01 01:26:53 +00:00
truemotion1.h
truemotion1data.h
xan.cpp JANITORIAL: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
xan.h IMAGE: Add support for Xan codec videos (Crusader, Wing Commander) 2021-03-14 19:16:24 +01:00