fix encode crash

This commit is contained in:
volvet 2014-03-12 15:46:13 +08:00
parent cece1fe2cf
commit 4d74beb928

View File

@ -849,7 +849,7 @@ int ProcessEncodingSvcWithConfig (ISVCEncoder* pPtrEnc, int argc, char** argv) {
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;