Remove redundant NULL check
Address of a pointer variable can never be NULL.
This commit is contained in:
parent
42097a6ed3
commit
077c29a0f1
@ -1203,11 +1203,6 @@ void CWelsH264SVCEncoder::DumpSrcPicture (const uint8_t* pSrc) {
|
||||
using namespace WelsSVCEnc;
|
||||
|
||||
int32_t CreateSVCEncoder (ISVCEncoder** ppEncoder) {
|
||||
assert (ppEncoder);
|
||||
|
||||
if (NULL == ppEncoder)
|
||||
return 1;
|
||||
|
||||
if ((*ppEncoder = new CWelsH264SVCEncoder()) != NULL) {
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user