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 Jun 2, 2017
1 parent de2d02f commit 56305dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/formatcontext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,10 @@ Stream FormatContext::addStream(const Codec &codec, OptionalErrorCode ec)
return Stream();
}

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

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

0 comments on commit 56305dd

Please sign in to comment.