changed NULLs to nullptr

This commit is contained in:
itsmattkc
2019-01-12 12:57:15 +11:00
parent 6da0f29e8c
commit a8e37ac76a
59 changed files with 785 additions and 785 deletions
+3 -3
View File
@@ -11,7 +11,7 @@ extern "C" {
#include "project/clip.h"
Footage::Footage() : ready(false), preview_gen(NULL), invalid(false), in(0), out(0), speed(1.0) {
Footage::Footage() : ready(false), preview_gen(nullptr), invalid(false), in(0), out(0), speed(1.0) {
ready_lock.lock();
}
@@ -20,7 +20,7 @@ Footage::~Footage() {
}
void Footage::reset() {
if (preview_gen != NULL) {
if (preview_gen != nullptr) {
preview_gen->cancel();
preview_gen->wait();
}
@@ -48,7 +48,7 @@ FootageStream* Footage::get_stream_from_file_index(bool video, int index) {
}
}
}
return NULL;
return nullptr;
}
void FootageStream::make_square_thumb() {