shithub: openh264

Download patch

ref: b37933527fdefb7b64760a008944b9feef522c97
parent: b2b67f5d80763b205a7161a6c8f8e2b44027657c
author: Martin Storsjö <martin@martin.st>
date: Mon Mar 20 08:20:15 EDT 2017

Remove the duplicated iRandValue from DecodeCrashTestAPI

The base class also has got such a field, which gets initialized
by the base class prepareEncDecParam.

This fixes valgrind errors about uninitialized data, present
since d1c0a93.

--- a/test/api/decode_api_test.cpp
+++ b/test/api/decode_api_test.cpp
@@ -506,8 +506,6 @@
 
 class DecodeCrashTestAPI : public ::testing::TestWithParam<EncodeDecodeFileParamBase>, public EncodeDecodeTestBase {
  public:
-  uint8_t iRandValue;
- public:
   void SetUp() {
     EncodeDecodeTestBase::SetUp();
     ucBuf_ = NULL;