Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 6 files). Show all
Unified · Split
| @@ -274,7 +274,7 @@ long CWelsDecoder::SetOption (DECODER_OPTION eOptID, void* pOption) { · 273 unmodified lines | ||
| 274 | 274 | return cmInitParaError; |
| 275 | 275 | |
| 276 | 276 | iVal = * ((int*)pOption); // int value for error concealment idc |
| 277 | − iVal = WELS_CLIP3 (iVal, (int32_t) ERROR_CON_DISABLE, (int32_t) ERROR_CON_SLICE_COPY); | |
| 277 | + iVal = WELS_CLIP3 (iVal, (int32_t) ERROR_CON_DISABLE, (int32_t) ERROR_CON_SLICE_COPY_CROSS_IDR); | |
| 278 | 278 | m_pDecContext->eErrorConMethod = (ERROR_CON_IDC) iVal; |
| 279 | 279 | InitErrorCon (m_pDecContext); |
| 280 | 280 | WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, |