shithub: openh264

Download patch

ref: 88fded255aebe00098895f4f9d750370ecc7697e
parent: cece1fe2cff49110995f9ec70fe766c58965b1d5
parent: 4d74beb92816e81db3fe67aa4cf38437e16fcf1f
author: ruil2 <ruil2@cisco.com>
date: Wed Mar 12 11:59:30 EDT 2014

Merge pull request #478 from volvet/fix-encode-crash

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;