summaryrefslogtreecommitdiff
path: root/rotord/rotor.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/rotor.h')
-rwxr-xr-xrotord/rotor.h10
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;