diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-05-27 12:40:16 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-05-27 12:40:16 +0100 |
| commit | 12c7449bd73a49ede4dacb90a9b0b7f73eb2e287 (patch) | |
| tree | 442afc39917e523c723aa65124c59d6777033176 /rotord/rotor.h | |
| parent | 493b87d7c8f8872a19bbb0347daf61cc5b24f578 (diff) | |
quick fix
Diffstat (limited to 'rotord/rotor.h')
| -rwxr-xr-x | rotord/rotor.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rotord/rotor.h b/rotord/rotor.h index 3b328bf..6984157 100755 --- a/rotord/rotor.h +++ b/rotord/rotor.h @@ -251,7 +251,7 @@ namespace Rotor { for (int i=0;i<w*h*3;i++){ other->RGBdata[i]=LUT[RGBdata[i]]; } - delete LUT; + delete[] LUT; return other; } Image * operator+(const float &amount) { @@ -263,7 +263,7 @@ namespace Rotor { for (int i=0;i<w*h*3;i++){ other->RGBdata[i]=LUT[RGBdata[i]]; } - delete LUT; + delete[] LUT; return other; } Image * operator-(const float &amount) { @@ -275,7 +275,7 @@ namespace Rotor { for (int i=0;i<w*h*3;i++){ other->RGBdata[i]=LUT[RGBdata[i]]; } - delete LUT; + delete[] LUT; return other; } Image * operator/(const float &amount) { @@ -287,7 +287,7 @@ namespace Rotor { for (int i=0;i<w*h*3;i++){ other->RGBdata[i]=LUT[RGBdata[i]]; } - delete LUT; + delete[] LUT; return other; } uint8_t *RGBdata; @@ -1177,7 +1177,7 @@ namespace Rotor { std::string output_dir; Audio_thumbnailer *audio_thumb; - vampHost::QMAnalyser audio_analyser; + //vampHost::QMAnalyser audio_analyser; Graph graph; Node_factory factory; float output_framerate; |
