Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 4 files). Show all
Unified · Split
| @@ -481,8 +481,6 @@ int32_t WelsDecodeBs (PWelsDecoderContext pCtx, const uint8_t* kpBsBuf, const in · 480 unmodified lines | |||
| 481 | return pCtx->iErrorCode; | 481 | return pCtx->iErrorCode; |
| 482 | } | 482 | } |
| 483 | } | 483 | } |
| 484 | //Do error concealment here | ||
| 485 | ImplementErrorCon (pCtx); | ||
| 486 | } | 484 | } |
| 487 | if (iRet) { | 485 | if (iRet) { |
| 488 | iRet = 0; | 486 | iRet = 0; |
| @@ -536,8 +534,6 @@ int32_t WelsDecodeBs (PWelsDecoderContext pCtx, const uint8_t* kpBsBuf, const in · 47 unmodified lines | |||
| 536 | ResetParameterSetsState (pCtx); | 534 | ResetParameterSetsState (pCtx); |
| 537 | return pCtx->iErrorCode; | 535 | return pCtx->iErrorCode; |
| 538 | } | 536 | } |
| 539 | //Do error concealment here | ||
| 540 | ImplementErrorCon (pCtx); | ||
| 541 | } | 537 | } |
| 542 | if (iRet) { | 538 | if (iRet) { |
| 543 | iRet = 0; | 539 | iRet = 0; |
| @@ -573,7 +569,6 @@ int32_t WelsDecodeBs (PWelsDecoderContext pCtx, const uint8_t* kpBsBuf, const in · 29 unmodified lines | |||
| 573 | ResetParameterSetsState (pCtx); | 569 | ResetParameterSetsState (pCtx); |
| 574 | return pCtx->iErrorCode; | 570 | return pCtx->iErrorCode; |
| 575 | } | 571 | } |
| 576 | ImplementErrorCon (pCtx); | ||
| 577 | } | 572 | } |
| 578 | } | 573 | } |
| 579 | 574 | ||