diff options
Diffstat (limited to 'src/wx/video_waveform_plot.cc')
| -rw-r--r-- | src/wx/video_waveform_plot.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wx/video_waveform_plot.cc b/src/wx/video_waveform_plot.cc index 2827689a7..d9fbfb11e 100644 --- a/src/wx/video_waveform_plot.cc +++ b/src/wx/video_waveform_plot.cc @@ -162,8 +162,7 @@ VideoWaveformPlot::create_waveform () strip is the number of samples in image with the corresponding group of values. */ - int strip[waveform_height]; - memset (strip, 0, waveform_height * sizeof(int)); + std::vector<int> strip(waveform_height); int* ip = _image->data (_component) + x; for (int y = 0; y < image_size.height; ++y) { |
