ref: 082248db1766ecd37fef543f9199280d17590084
parent: fbc179fb823061ea886bff925dec90a2f687a04d
parent: 8b9f621b880f47ff5631fef44e6d97247bec5436
author: volvet <qizh@cisco.com>
date: Tue Apr 22 05:11:48 EDT 2014
Merge pull request #725 from licaiguo/add-virtual-destructor-api 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() {}
};