Remove redundant NULL check

Address of a pointer variable can never be NULL.
This commit is contained in:
Varun B Patil 2013-12-15 18:36:15 +05:30
parent 42097a6ed3
commit 077c29a0f1

View File

@ -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;
}