spVCF
spVCF copied to clipboard
Transcoder class should have a virtual destructor
Since the NewEncoder & NewDecoder factory functions return a Transcoder object, this class needs to have a virtual destructor in order for the concrete object to be deleted properly and not leak.
This simply requires adding the following line:
virtual ~Transcoder() = default;