diff --git a/codec/encoder/core/src/encoder_ext.cpp b/codec/encoder/core/src/encoder_ext.cpp index d302e821..ede8c6b0 100644 --- a/codec/encoder/core/src/encoder_ext.cpp +++ b/codec/encoder/core/src/encoder_ext.cpp @@ -157,8 +157,6 @@ int32_t ParamValidation (SLogContext* pLogCtx, SWelsSvcCodingParam* pCfg) { } return WelsCheckRefFrameLimitation (pLogCtx, pCfg); - - return ENC_RETURN_SUCCESS; }