From 12c7449bd73a49ede4dacb90a9b0b7f73eb2e287 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 27 May 2013 12:40:16 +0100 Subject: quick fix --- rotord/rotor.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rotord/rotor.h') 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;iRGBdata[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;iRGBdata[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;iRGBdata[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;iRGBdata[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; -- cgit v1.2.3