Skip to content

Commit

Permalink
remove the duplicated initialization (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev authored Dec 21, 2023
1 parent c5ee87f commit a3b895a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/codeccontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,6 @@ class CodecContextBase : public CodecContext2
explicit CodecContextBase(const Codec &codec)
: CodecContext2(codec, _direction, _type)
{
if (checkCodec(codec, _direction, _type, throws()))
m_raw = avcodec_alloc_context3(codec.raw());
}

//
Expand Down

0 comments on commit a3b895a

Please sign in to comment.