mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-07 23:15:36 +01:00
Remove naked new[] in: export
This commit is contained in:
@@ -263,7 +263,7 @@ ProgressResult ExportOGG::Export(AudacityProject *project,
|
||||
}
|
||||
else {
|
||||
|
||||
for (int i = 0; i < numChannels; i++) {
|
||||
for (size_t i = 0; i < numChannels; i++) {
|
||||
float *temp = (float *)mixer->GetBuffer(i);
|
||||
memcpy(vorbis_buffer[i], temp, sizeof(float)*SAMPLES_PER_RUN);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user