Skip to content

Commit 2b99454

Browse files
author
Clement Champetier
committed
Merge branch 'master' into develop
Conflicts: src/AvTranscoder/codec/ICodec.cpp
2 parents 0f285b2 + a5e1c73 commit 2b99454

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/AvTranscoder/codec/ICodec.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ ICodec::ICodec(const ECodecType type, AVCodecContext& avCodecContext)
4444

4545
ICodec::~ICodec()
4646
{
47+
avcodec_close(_avCodecContext);
48+
4749
if(!_isCodecContextAllocated)
4850
return;
4951

50-
avcodec_close(_avCodecContext);
5152
av_free(_avCodecContext);
5253
_avCodecContext = NULL;
5354
}

src/AvTranscoder/common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#define AVTRANSCODER_VERSION_MAJOR 0
55
#define AVTRANSCODER_VERSION_MINOR 6
6-
#define AVTRANSCODER_VERSION_MICRO 1
6+
#define AVTRANSCODER_VERSION_MICRO 2
77

88
#include <AvTranscoder/system.hpp>
99

0 commit comments

Comments
 (0)