shithub: openh264

Download patch

ref: 5588e82fce27a02a8375ce73d4dfa80c33a30711
parent: 7150d4feb13df0c0ec77bffb3827ebcac409d1f2
parent: 1239bb24ba511d94a58cfaadb1a80f88d7072d86
author: sijchen <sijchen@cisco.com>
date: Mon Jun 1 06:42:56 EDT 2015

Merge pull request #1961 from mstorsjo/fix-warnings

Remove a redundant check of this!=NULL

--- a/test/encoder/EncUT_InterfaceTest.cpp
+++ b/test/encoder/EncUT_InterfaceTest.cpp
@@ -95,7 +95,7 @@
     while (fileStream.read (buf.data(), frameSize) == frameSize) {
       ret = encoder_->EncodeFrame (&pic, &info);
       ASSERT_TRUE (ret == cmResultSuccess);
-      if (info.eFrameType != videoFrameTypeSkip && this != NULL) {
+      if (info.eFrameType != videoFrameTypeSkip) {
         this->onEncodeFrame (info);
         iFrameNum++;
       }