ref: 077c29a0f1f40ef92b81822424ef6406acc7b4e8
parent: 42097a6ed305b0abaa231f091e8fe4626f5c142f
author: Varun B Patil <varun.basavaraj.patil@gmail.com>
date: Sun Dec 15 13:36:15 EST 2013
Remove redundant NULL check Address of a pointer variable can never be NULL.
--- a/codec/encoder/plus/src/welsEncoderExt.cpp
+++ b/codec/encoder/plus/src/welsEncoderExt.cpp
@@ -1203,11 +1203,6 @@
using namespace WelsSVCEnc;
int32_t CreateSVCEncoder (ISVCEncoder** ppEncoder) {
- assert (ppEncoder);
-
- if (NULL == ppEncoder)
- return 1;
-
if ((*ppEncoder = new CWelsH264SVCEncoder()) != NULL) {
return 0;
}