Use std::unique_ptr for the destination to avoid the leak because of exception.
Use std::unique_ptr for the destination to avoid the leak because of exception.

VFR-maniac/VapourSynth-TNLMeans,VFR-maniac/VapourSynth-TNLMeans