Skip to content

Commit 7ad1cc9

Browse files
committed
ICodec: this class is abstract
Provide pure virtual destructor.
1 parent 75ce1be commit 7ad1cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AvTranscoder/codec/ICodec.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class AvExport ICodec
2727
ICodec( const ECodecType type, const std::string& codecName );
2828
ICodec( const ECodecType type, const AVCodecID codecId );
2929

30-
virtual ~ICodec();
30+
virtual ~ICodec() = 0;
3131

3232
std::string getCodecName() const;
3333
AVCodecID getCodecId() const;

0 commit comments

Comments
 (0)