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 May 12, 2017
1 parent eba3178 commit 5fb9167
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, error_code &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 5fb9167

Please sign in to comment.