We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f56b7d1 commit 4df7cc4Copy full SHA for 4df7cc4
src/AvTranscoder/properties/VideoProperties.cpp
@@ -46,9 +46,6 @@ std::string VideoProperties::getProfileName() const
46
if(_codec->capabilities & CODEC_CAP_TRUNCATED)
47
_codecContext->flags |= CODEC_FLAG_TRUNCATED;
48
49
- if(_codecContext->profile == -99)
50
- throw std::runtime_error("unknown codec profile");
51
-
52
const char* profile = NULL;
53
if((profile = av_get_profile_name(_codec, getProfile())) == NULL)
54
throw std::runtime_error("unknown codec profile");
0 commit comments