fix encode crash
This commit is contained in:
parent
cece1fe2cf
commit
4d74beb928
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user