ref: 8b9f621b880f47ff5631fef44e6d97247bec5436
parent: fbc179fb823061ea886bff925dec90a2f687a04d
author: Licai Guo <[email protected]>
date: Mon Apr 21 13:51:47 EDT 2014
add virtual destructor to codec interface
--- a/codec/api/svc/codec_api.h
+++ b/codec/api/svc/codec_api.h
@@ -90,6 +90,7 @@
*/
virtual int EXTAPI SetOption (ENCODER_OPTION eOptionId, void* pOption) = 0;
virtual int EXTAPI GetOption (ENCODER_OPTION eOptionId, void* pOption) = 0;
+ virtual ~ISVCEncoder() {}
};
class ISVCDecoder {
@@ -128,6 +129,7 @@
*************************************************************************/
virtual long EXTAPI SetOption (DECODER_OPTION eOptionId, void* pOption) = 0;
virtual long EXTAPI GetOption (DECODER_OPTION eOptionId, void* pOption) = 0;
+ virtual ~ISVCDecoder() {}
};