History

fixed layer size update bugs

huade committed 10 years ago

Commit 549a1b91 parent ee01b3a1 file · +1 −3Browse files

Showing the changes to codec/encoder/core/src/slice_multi_threading.cpp (1 of 1 file). Show all

Unified · Split

codec/encoder/core/src/slice_multi_threading.cpp+1−3
@@ -511,9 +511,7 @@ int32_t AppendSliceToFrameBs (sWelsEncCtx* pCtx, SLayerBSInfo* pLbi, const int32 · 510 unmodified lines
511 int32_t iSliceIdx = 0;511 int32_t iSliceIdx = 0;
512 512
513 if (!kbIsDynamicSlicingMode) {513 if (!kbIsDynamicSlicingMode) {
514 pSliceBs = &pCtx->pSliceBs[0];514 pSliceBs = &pCtx->pSliceBs[0];
515 iLayerSize = pSliceBs->uiBsPos; // assign with base pSlice first
516 iSliceIdx = 0;
517 iNalIdxBase = pLbi->iNalCount = 0;515 iNalIdxBase = pLbi->iNalCount = 0;
518 while (iSliceIdx < iSliceCount) {516 while (iSliceIdx < iSliceCount) {
519 if (pSliceBs != NULL && pSliceBs->uiBsPos > 0) {517 if (pSliceBs != NULL && pSliceBs->uiBsPos > 0) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t