ref: 8980731be0043b4855389397a64cbf694a8a14f9
parent: a43841d0e94f3b18c440f55d91d8a1942cf86cfe
parent: 9d89a6976ebbefb84fd8cbfccf4ed062779cda05
author: HaiboZhu <haibozhu@cisco.com>
date: Wed Jul 13 10:21:01 EDT 2016
Merge pull request #2527 from ruil2/init 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();
}