Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 6 files). Show all
Unified · Split
| @@ -311,7 +311,15 @@ void WelsDecoderDefaults (PWelsDecoderContext pCtx, SLogContext* pLogCtx) { · 310 unmodified lines | ||
| 311 | 311 | pCtx->sDecoderStatistics.iAvgLumaQp = -1; |
| 312 | 312 | pCtx->bSpsLatePps = false; |
| 313 | 313 | pCtx->bUseScalingList = false; |
| 314 | − | |
| 314 | + pCtx->iSpsErrorIgnored = 0; | |
| 315 | + pCtx->iSubSpsErrorIgnored = 0; | |
| 316 | + pCtx->iPpsErrorIgnored = 0; | |
| 317 | + pCtx->iPPSInvalidNum = 0; | |
| 318 | + pCtx->iPPSLastInvalidId = -1; | |
| 319 | + pCtx->iSPSInvalidNum = 0; | |
| 320 | + pCtx->iSPSLastInvalidId = -1; | |
| 321 | + pCtx->iSubSPSInvalidNum = 0; | |
| 322 | + pCtx->iSubSPSLastInvalidId = -1; | |
| 315 | 323 | } |
| 316 | 324 | |
| 317 | 325 | /* |