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
3do_decoder.h
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
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
mpegps_decoder.cpp
mpegps_decoder.h
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