Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 2 files). Show all
Unified · Split
| @@ -962,7 +962,7 @@ int CWelsH264SVCEncoder::GetOption (ENCODER_OPTION eOptionId, void* pOption) { · 961 unmodified lines | ||
| 962 | 962 | "CWelsH264SVCEncoder::GetOption():ENCODER_OPTION_SVC_ENCODE_PARAM_BASE, m_uiCountFrameNum= %d, m_iCspInternal= 0x%x\n", |
| 963 | 963 | m_uiCountFrameNum, m_iCspInternal); |
| 964 | 964 | #endif//REC_FRAME_COUNT |
| 965 | − memcpy (pOption, m_pEncContext->pSvcParam, sizeof (SEncParamBase)); // confirmed_safe_unsafe_usage | |
| 965 | + m_pEncContext->pSvcParam->GetBaseParams((SEncParamBase*) pOption); | |
| 966 | 966 | } |
| 967 | 967 | break; |
| 968 | 968 | |