MSVC used to warn about this.
Showing the changes to codec/encoder/core/src/svc_encode_slice.cpp (1 of 2 files). Show all
Unified · Split
| @@ -748,7 +748,7 @@ int32_t WelsCodeOneSlice (sWelsEncCtx* pEncCtx, const int32_t kiSliceIdx, const · 747 unmodified lines | |||
| 748 | if (ENC_RETURN_SUCCESS != iEncReturn) | 748 | if (ENC_RETURN_SUCCESS != iEncReturn) |
| 749 | return iEncReturn; | 749 | return iEncReturn; |
| 750 | 750 | ||
| 751 | WelsWriteSliceEndSyn (pCurSlice, pEncCtx->pSvcParam->iEntropyCodingModeFlag); | 751 | WelsWriteSliceEndSyn (pCurSlice, pEncCtx->pSvcParam->iEntropyCodingModeFlag != 0); |
| 752 | 752 | ||
| 753 | return ENC_RETURN_SUCCESS; | 753 | return ENC_RETURN_SUCCESS; |
| 754 | } | 754 | } |