diff --git a/src/formatcontext.cpp b/src/formatcontext.cpp index 57d1d167..fd2feb43 100644 --- a/src/formatcontext.cpp +++ b/src/formatcontext.cpp @@ -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;