Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 4 files). Show all
Unified · Split
| @@ -2327,7 +2327,12 @@ int32_t InitRefPicList (PWelsDecoderContext pCtx, const uint8_t kuiNRi, int32_t · 2326 unmodified lines | |||
| 2327 | } else | 2327 | } else |
| 2328 | iRet = WelsInitRefList (pCtx, iPoc); | 2328 | iRet = WelsInitRefList (pCtx, iPoc); |
| 2329 | if ((pCtx->eSliceType != I_SLICE && pCtx->eSliceType != SI_SLICE)) { | 2329 | if ((pCtx->eSliceType != I_SLICE && pCtx->eSliceType != SI_SLICE)) { |
| 2330 | iRet = WelsReorderRefList (pCtx); | 2330 | #if 0 |
| 2331 | if (pCtx->pSps->uiProfileIdc != 66 && pCtx->pPps->bEntropyCodingModeFlag) | ||
| 2332 | iRet = WelsReorderRefList2 (pCtx); | ||
| 2333 | else | ||
| 2334 | #endif | ||
| 2335 | iRet = WelsReorderRefList (pCtx); | ||
| 2331 | } | 2336 | } |
| 2332 | 2337 | ||
| 2333 | return iRet; | 2338 | return iRet; |