Skip to content

Commit

Permalink
Fix h4tr3d#24
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Shpikin committed Nov 24, 2017
1 parent e69fa80 commit 2bc1ec0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/formatcontext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,6 @@ Stream FormatContext::addStream(const Codec &codec, OptionalErrorCode ec)
return Stream();
}

if (!outputFormat().codecSupported(codec)) {
throws_if(ec, Errors::FormatCodecUnsupported);
return Stream();
}

auto rawcodec = codec.raw();
AVStream *st = nullptr;

Expand Down

0 comments on commit 2bc1ec0

Please sign in to comment.