mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-02-21 06:05:50 +08:00
style(*): set deleted object pointers to nullptr
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
@@ -27,6 +27,7 @@ FilterRealesrgan::FilterRealesrgan(
|
||||
|
||||
FilterRealesrgan::~FilterRealesrgan() {
|
||||
delete realesrgan_;
|
||||
realesrgan_ = nullptr;
|
||||
}
|
||||
|
||||
int FilterRealesrgan::init(AVCodecContext* dec_ctx, AVCodecContext* enc_ctx, AVBufferRef*) {
|
||||
|
||||
Reference in New Issue
Block a user