Merge pull request #725 from licaiguo/add-virtual-destructor-api

add virtual destructor to codec interface
This commit is contained in:
volvet 2014-04-22 09:11:48 +08:00
commit 082248db17

View File

@ -90,6 +90,7 @@ class ISVCEncoder {
*/
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 @@ class ISVCDecoder {
*************************************************************************/
virtual long EXTAPI SetOption (DECODER_OPTION eOptionId, void* pOption) = 0;
virtual long EXTAPI GetOption (DECODER_OPTION eOptionId, void* pOption) = 0;
virtual ~ISVCDecoder() {}
};