Showing the changes to codec/encoder/core/src/wels_task_encoder.cpp (1 of 8 files). Show all
Unified · Split
| @@ -119,6 +119,9 @@ WelsErrorType CWelsSliceEncodingTask::InitTask() { · 118 unmodified lines | |||
| 119 | m_pSliceBs->uiBsPos = 0; | 119 | m_pSliceBs->uiBsPos = 0; |
| 120 | m_pSliceBs->iNalIndex = 0; | 120 | m_pSliceBs->iNalIndex = 0; |
| 121 | 121 | ||
| 122 | m_pCtx->iEncoderError = SetSliceBoundaryInfo(m_pCtx->pCurDqLayer, m_pSlice, m_iSliceIdx); | ||
| 123 | WELS_VERIFY_RETURN_IFNEQ (m_pCtx->iEncoderError, ENC_RETURN_SUCCESS) | ||
| 124 | |||
| 122 | SetOneSliceBsBufferUnderMultithread (m_pCtx, m_iThreadIdx, m_pSlice); | 125 | SetOneSliceBsBufferUnderMultithread (m_pCtx, m_iThreadIdx, m_pSlice); |
| 123 | 126 | ||
| 124 | assert ((void*) (&m_pSliceBs->sBsWrite) == (void*)m_pSlice->pSliceBsa); | 127 | assert ((void*) (&m_pSliceBs->sBsWrite) == (void*)m_pSlice->pSliceBsa); |