X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=resample_effect.h;h=a8e37e4083dac02a849e9e75a09ee43873d89d05;hb=f34b1c36acd27944f00885edfc55363432bfec8e;hp=ceae920aa71c98a0799a8423f173bc9e13c25876;hpb=0ed2c7fe3876a49d1565e3425e5a491206ffe32d;p=movit diff --git a/resample_effect.h b/resample_effect.h index ceae920..a8e37e4 100644 --- a/resample_effect.h +++ b/resample_effect.h @@ -87,7 +87,7 @@ private: class SingleResamplePassEffect : public Effect { public: - // If parent is non-NULL, calls to inform_input_size will be forwarded, + // If parent is non-nullptr, calls to inform_input_size will be forwarded, // so that it can inform both passes about the right input and output // resolutions. SingleResamplePassEffect(ResampleEffect *parent); @@ -102,7 +102,7 @@ public: virtual void inform_added(EffectChain *chain) { this->chain = chain; } virtual void inform_input_size(unsigned input_num, unsigned width, unsigned height) { - if (parent != NULL) { + if (parent != nullptr) { parent->inform_input_size(input_num, width, height); } }