shithub: openh264

Download patch

ref: 9d89a6976ebbefb84fd8cbfccf4ed062779cda05
parent: d97f4c5b680bb90bf476c648b3e0a0bb480be0f2
author: Karina <ruil2@cisco.com>
date: Wed Jul 13 07:20:36 EDT 2016

init samplebuffer

--- a/codec/processing/src/downsample/downsample.cpp
+++ b/codec/processing/src/downsample/downsample.cpp
@@ -45,6 +45,7 @@
   m_eMethod   = METHOD_DOWNSAMPLE;
   WelsMemset (&m_pfDownsample, 0, sizeof (m_pfDownsample));
   InitDownsampleFuncs (m_pfDownsample, m_iCPUFlag);
+  WelsMemset(m_pSampleBuffer,0,sizeof(m_pSampleBuffer));
   m_bNoSampleBuffer = AllocateSampleBuffer();
 }