Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 4 files). Show all
Unified · Split
| @@ -2814,8 +2814,6 @@ int32_t WritePadding (sWelsEncCtx* pCtx, int32_t iLen, int32_t& iSize) { · 2813 unmodified lines | |||
| 2814 | 2814 | ||
| 2815 | BsRbspTrailingBits (pBs); | 2815 | BsRbspTrailingBits (pBs); |
| 2816 | 2816 | ||
| 2817 | BsFlush (pBs); | ||
| 2818 | |||
| 2819 | WelsUnloadNal (pCtx->pOut); | 2817 | WelsUnloadNal (pCtx->pOut); |
| 2820 | int32_t iReturn = WelsEncodeNal (&pCtx->pOut->sNalList[iNal], NULL, | 2818 | int32_t iReturn = WelsEncodeNal (&pCtx->pOut->sNalList[iNal], NULL, |
| 2821 | pCtx->iFrameBsSize - pCtx->iPosBsBuffer, | 2819 | pCtx->iFrameBsSize - pCtx->iPosBsBuffer, |