Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 1 file). Show all
Unified · Split
| @@ -758,7 +758,7 @@ int CWelsH264SVCEncoder::SetOption (ENCODER_OPTION eOptionId, void* pOption) { · 757 unmodified lines | |||
| 758 | int32_t iTargetWidth = 0; | 758 | int32_t iTargetWidth = 0; |
| 759 | int32_t iTargetHeight = 0; | 759 | int32_t iTargetHeight = 0; |
| 760 | 760 | ||
| 761 | memcpy (&sEncodingParam, pOption, sizeof (SEncParamBase)); // confirmed_safe_unsafe_usage | 761 | memcpy (&sEncodingParam, pOption, sizeof (SEncParamExt)); // confirmed_safe_unsafe_usage |
| 762 | WelsLog (m_pEncContext, WELS_LOG_INFO, "ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, sEncodingParam.iInputCsp= 0x%x\n", | 762 | WelsLog (m_pEncContext, WELS_LOG_INFO, "ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, sEncodingParam.iInputCsp= 0x%x\n", |
| 763 | sEncodingParam.iInputCsp); | 763 | sEncodingParam.iInputCsp); |
| 764 | WelsLog (m_pEncContext, WELS_LOG_INFO, | 764 | WelsLog (m_pEncContext, WELS_LOG_INFO, |