Skip to content

Commit 4bfa819

Browse files
authored
Fix typo in profile level string (#371)
1 parent 624f8ba commit 4bfa819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amf/public/samples/CPPSamples/common/EncoderParamsAVC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ static AMF_RESULT ParamConverterProfileLevelAVC(const std::wstring& value, amf::
146146
paramValue = PV13;
147147
} else if(uppValue == L"2.0" || uppValue == L"20" || uppValue == L"2") {
148148
paramValue = PV2;
149-
} else if(uppValue == L"2.1" || uppValue == L"2.1") {
149+
} else if(uppValue == L"2.1" || uppValue == L"21") {
150150
paramValue = PV21;
151151
} else if(uppValue == L"2.2" || uppValue == L"22") {
152152
paramValue = PV22;

0 commit comments

Comments
 (0)