Skip to content

Commit

Permalink
13172c1 のミスを修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Oct 28, 2023
1 parent b879b4f commit bf78d94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions mppcore/mpp_cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,12 +437,12 @@ int parse_one_option(const TCHAR *option_name, const TCHAR* strInput[], int& i,
pParams->gopLen = value;
return 0;
}
if (0 == _tcscmp(option_name, _T("repeat-headers"))) {
if (IS_OPTION("repeat-headers")) {
pParams->repeatHeaders = true;
return 0;
}
if (0 == _tcscmp(option_name, _T("no-repeat-pps"))
|| 0 == _tcscmp(option_name, _T("no-repeat-headers"))) {
if (IS_OPTION("no-repeat-pps")
|| IS_OPTION("no-repeat-headers")) {
pParams->repeatHeaders = false;
return 0;
}
Expand All @@ -456,7 +456,7 @@ int parse_one_option(const TCHAR *option_name, const TCHAR* strInput[], int& i,
pParams->chromaQPOffset = value;
return 0;
}
if (IS_OPTION(option_name, _T("no-deblock"))) {
if (IS_OPTION("no-deblock")) {
pParams->disableDeblock = true;
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion mppcore/mpp_param.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ MPPParam::MPPParam() :
gopLen(MPP_DEFAULT_GOP_LEN),
chromaQPOffset(0),
repeatHeaders(false),
par()
par(),
disableDeblock(false),
deblockAlpha(0),
deblockBeta(0) {
Expand Down

0 comments on commit bf78d94

Please sign in to comment.