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 7c2e6fc commit db3dd17Copy full SHA for db3dd17
src/AvTranscoder/mediaProperty/VideoProperties.cpp
@@ -84,7 +84,7 @@ std::string VideoProperties::getProfileName() const
84
85
if( _codecContext->profile != -99 )
86
{
87
- const char* profile;
+ const char* profile = NULL;
88
if( ( profile = av_get_profile_name( _codec, _codecContext->profile ) ) != NULL )
89
return std::string( profile );
90
}
0 commit comments