Showing the changes to codec/decoder (1 of 1 file). Show all
Unified · Split
| @@ -951,6 +951,7 @@ int32_t UpdateAccessUnit (PWelsDecoderContext pCtx) { · 950 unmodified lines | ||
| 951 | 951 | pCurAu->uiActualUnitsNum) { // no found IDR nal within incoming AU, need exit to avoid mosaic issue, 11/19/2009 |
| 952 | 952 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, |
| 953 | 953 | "UpdateAccessUnit():::::Key frame lost.....CAN NOT find IDR from current AU.\n"); |
| 954 | + pCtx->iErrorCode |= dsRefLost; | |
| 954 | 955 | if (pCtx->iErrorConMethod == ERROR_CON_DISABLE) { |
| 955 | 956 | #ifdef LONG_TERM_REF |
| 956 | 957 | pCtx->iErrorCode |= dsNoParamSets; |