Skip to content

Commit

Permalink
Revert "Fix WelsTraceCallback conversion. (cisco#3722)" (cisco#3739)
Browse files Browse the repository at this point in the history
This reverts commit 28b533a.
  • Loading branch information
BenzhengZhang authored Apr 1, 2024
1 parent 28b533a commit f86f0e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codec/encoder/plus/src/welsEncoderExt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ int CWelsH264SVCEncoder::SetOption (ENCODER_OPTION eOptionId, void* pOption) {
break;
case ENCODER_OPTION_TRACE_CALLBACK: {
if (m_pWelsTrace) {
WelsTraceCallback callback = (WelsTraceCallback)pOption;
WelsTraceCallback callback = * ((WelsTraceCallback*)pOption);
m_pWelsTrace->SetTraceCallback (callback);
WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO,
"CWelsH264SVCEncoder::SetOption():ENCODER_OPTION_TRACE_CALLBACK callback = %p.",
Expand Down

0 comments on commit f86f0e4

Please sign in to comment.