Showing the changes to codec/decoder/core/src (1 of 2 files). Show all
Unified · Split
| @@ -79,6 +79,10 @@ static void SetUnRef (PPicture pRef) { · 78 unmodified lines | |||
| 79 | pRef->uiSpatialId = -1; | 79 | pRef->uiSpatialId = -1; |
| 80 | pRef->iSpsId = -1; | 80 | pRef->iSpsId = -1; |
| 81 | pRef->bIsComplete = false; | 81 | pRef->bIsComplete = false; |
| 82 | for (int32_t i = 0; i < MAX_DPB_COUNT; ++i) { | ||
| 83 | pRef->pRefPic[LIST_0][i] = NULL; | ||
| 84 | pRef->pRefPic[LIST_1][i] = NULL; | ||
| 85 | } | ||
| 82 | } | 86 | } |
| 83 | } | 87 | } |
| 84 | 88 | ||