Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1479,8 +1479,6 @@ int32_t WelsActualDecodeMbCavlcPSlice (PWelsDecoderContext pCtx) { · 1478 unmodified lines | ||
| 1479 | 1479 | uiCbpL = pCurLayer->pCbp[iMbXy] & 15; |
| 1480 | 1480 | } |
| 1481 | 1481 | |
| 1482 | − memset (pCurLayer->pScaledTCoeff[iMbXy], 0, MB_COEFF_LIST_SIZE * sizeof (int16_t)); | |
| 1483 | − | |
| 1484 | 1482 | ST32A4 (&pNzc[0], 0); |
| 1485 | 1483 | ST32A4 (&pNzc[4], 0); |
| 1486 | 1484 | ST32A4 (&pNzc[8], 0); |
| @@ -1495,7 +1493,7 @@ int32_t WelsActualDecodeMbCavlcPSlice (PWelsDecoderContext pCtx) { · 8 unmodified lines | ||
| 1495 | 1493 | |
| 1496 | 1494 | if (pCurLayer->pCbp[iMbXy] || MB_TYPE_INTRA16x16 == pCurLayer->pMbType[iMbXy]) { |
| 1497 | 1495 | int32_t iQpDelta, iId8x8, iId4x4; |
| 1498 | − | |
| 1496 | + memset (pCurLayer->pScaledTCoeff[iMbXy], 0, MB_COEFF_LIST_SIZE * sizeof (int16_t)); | |
| 1499 | 1497 | WELS_READ_VERIFY (BsGetSe (pBs, &iCode)); //mb_qp_delta |
| 1500 | 1498 | iQpDelta = iCode; |
| 1501 | 1499 | |