History

Merge pull request #1738 from huili2/init_EC_modify

modify EC init position

sijchen committed 11 years ago

Commit 8bef6bc2 parents 2df0185 50ce93e2 files · +29 −3Browse files

Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 2 files). Show all

Unified · Split

codec/decoder/core/src/decoder.cpp+1−1
@@ -459,7 +459,6 @@ int32_t WelsOpenDecoder (PWelsDecoderContext pCtx) { · 458 unmodified lines
459459 //initial MC function pointer--
460460 int iRet = ERR_NONE;
461461 InitMcFunc (& (pCtx->sMcFunc), pCtx->uiCpuFlag);
462− InitErrorCon (pCtx);
463462
464463 InitExpandPictureFunc (& (pCtx->sExpandPicFunc), pCtx->uiCpuFlag);
465464 AssignFuncPointerForRec (pCtx);
@@ -525,6 +524,7 @@ int32_t DecoderConfigParam (PWelsDecoderContext pCtx, const SDecodingParam* kpPa · 59 unmodified lines
525524
526525 if (pCtx->bParseOnly) //parse only, disable EC method
527526 pCtx->eErrorConMethod = ERROR_CON_DISABLE;
527+ InitErrorCon (pCtx);
528528
529529 if (VIDEO_BITSTREAM_SVC == pCtx->pParam->sVideoProperty.eVideoBsType ||
530530 VIDEO_BITSTREAM_AVC == pCtx->pParam->sVideoProperty.eVideoBsType) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t