Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1524,7 +1524,7 @@ int32_t WelsDecodeSlice (PWelsDecoderContext pCtx, bool bFirstSliceInLayer, PNal · 1523 unmodified lines | ||
| 1524 | 1524 | PSliceHeader pSliceHeader = &pSliceHeaderExt->sSliceHeader; |
| 1525 | 1525 | int32_t iMbX, iMbY; |
| 1526 | 1526 | const int32_t kiCountNumMb = pSliceHeader->pSps->uiTotalMbCount; //need to be correct when fmo or multi slice |
| 1527 | − uint32_t uiEosFlag; | |
| 1527 | + uint32_t uiEosFlag = 0; | |
| 1528 | 1528 | PWelsDecMbFunc pDecMbFunc; |
| 1529 | 1529 | |
| 1530 | 1530 | pSlice->iTotalMbInCurSlice = 0; //initialize at the starting of slice decoding. |