Skip to content

Commit

Permalink
Fix #24
Browse files Browse the repository at this point in the history
  • Loading branch information
rkfg committed Nov 27, 2017
1 parent 71ef4fb commit 86bc120
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 86bc120

Please sign in to comment.