ref: 4d74beb92816e81db3fe67aa4cf38437e16fcf1f
parent: cece1fe2cff49110995f9ec70fe766c58965b1d5
author: volvet <qizh@cisco.com>
date: Wed Mar 12 11:46:13 EDT 2014
fix encode crash
--- a/codec/console/enc/src/welsenc.cpp
+++ b/codec/console/enc/src/welsenc.cpp
@@ -849,7 +849,7 @@
memset (&sFbi, 0, sizeof (SFrameBSInfo));
memset (&sSvcParam, 0, sizeof (SEncParamExt));
- memset (&fs,0,sizeof(SFilesSet));
+ memset (&fs.sRecFileName[0][0],0,sizeof(fs.sRecFileName));
sSvcParam.iInputCsp = videoFormatI420; // I420 in default
sSvcParam.sSpatialLayers[0].uiProfileIdc = PRO_BASELINE;
// svc_cfg->sDependencyLayers[0].frext_mode = 0;