This fixes warnings with gcc and clang.
Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all
Unified · Split
| @@ -4021,7 +4021,7 @@ int32_t WelsEncoderApplyLTR (SLogContext* pLogCtx, sWelsEncCtx** ppCtx, SLTRConf · 4020 unmodified lines | |||
| 4021 | } | 4021 | } |
| 4022 | if (iNumRefFrame > sConfig.iMaxNumRefFrame) { | 4022 | if (iNumRefFrame > sConfig.iMaxNumRefFrame) { |
| 4023 | WelsLog (pLogCtx, WELS_LOG_WARNING, | 4023 | WelsLog (pLogCtx, WELS_LOG_WARNING, |
| 4024 | " CWelsH264SVCEncoder::SetOption LTR flag = %d and number = %d: Required number of reference increased to %d and iMaxNumRefFrame is adjusted", | 4024 | " CWelsH264SVCEncoder::SetOption LTR flag = %d and number = %d: Required number of reference increased to %d and iMaxNumRefFrame is adjusted (from %d)", |
| 4025 | sConfig.bEnableLongTermReference, sConfig.iLTRRefNum, iNumRefFrame, sConfig.iMaxNumRefFrame); | 4025 | sConfig.bEnableLongTermReference, sConfig.iLTRRefNum, iNumRefFrame, sConfig.iMaxNumRefFrame); |
| 4026 | sConfig.iMaxNumRefFrame = iNumRefFrame; | 4026 | sConfig.iMaxNumRefFrame = iNumRefFrame; |
| 4027 | } | 4027 | } |