scummvm/video
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
..
3do_decoder.cpp VIDEO: support multi-track audios in 3DO videos 2020-10-24 00:59:01 +02:00
3do_decoder.h VIDEO: support multi-track audios in 3DO videos 2020-10-24 00:59:01 +02:00
avi_decoder.cpp JANITORIAL: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
avi_decoder.h AGS: Skip videos with unsupported video tracks rather than erroring 2021-09-25 10:28:47 -07:00
bink_decoder.cpp JANITORIAL: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
bink_decoder.h AUDIO: Fix warnings 2020-09-24 01:28:17 +02:00
binkdata.h
coktel_decoder.cpp JANITORIAL: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
coktel_decoder.h
dxa_decoder.cpp JANITORIAL: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
dxa_decoder.h
flic_decoder.cpp JANITORIAL: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
flic_decoder.h
hnm_decoder.cpp JANITORIAL: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
hnm_decoder.h VIDEO: Initial support for UBB2 videos 2021-10-04 18:37:25 +02:00
module.mk CRYOMNI3D: Move HNMDecoder into common code 2021-04-17 21:48:45 +03:00
mpegps_decoder.cpp VIDEO: Added support for PS2 audio codec in MPEG stream 2020-09-24 18:52:31 +02:00
mpegps_decoder.h VIDEO: Fix type redefinition when including MPEGPSDecoder 2021-02-07 10:21:21 -08:00
mve_decoder.cpp
mve_decoder.h
psx_decoder.cpp
psx_decoder.h
qt_data.h VIDEO: Add default QuickTime palettes 2021-06-29 22:48:14 -04:00
qt_decoder.cpp JANITORIAL: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
qt_decoder.h VIDEO: Use Path type in VideoDecoder functions 2021-08-07 10:44:37 +02:00
smk_decoder.cpp COMMON: added SmackerDecoder::forceSeekToFrame function 2021-10-31 19:15:06 +01:00
smk_decoder.h COMMON: added SmackerDecoder::forceSeekToFrame function 2021-10-31 19:15:06 +01:00
theora_decoder.cpp
theora_decoder.h
video_decoder.cpp VIDEO: Use Path type in VideoDecoder functions 2021-08-07 10:44:37 +02:00
video_decoder.h VIDEO: Use Path type in VideoDecoder functions 2021-08-07 10:44:37 +02:00