History

fixed bug for NeedDynamicAdjust()

huade committed 11 years ago

Commit 0d4d32e1 parent b5d890c1 file · +2 −2Browse 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+2−2
@@ -160,8 +160,8 @@ int32_t NeedDynamicAdjust (void* pConsumeTime, const int32_t iSliceNum) { · 159 unmodified lines
160 WelsEmms();160 WelsEmms();
161 161
162 while (iSliceIdx < iSliceNum) {162 while (iSliceIdx < iSliceNum) {
163 uiTotalConsume += pSliceConsume[iSliceIdx] + pSliceConsume[1 + iSliceIdx];163 uiTotalConsume += pSliceConsume[iSliceIdx];
164 iSliceIdx += 2;164 iSliceIdx ++;
165 }165 }
166 if (uiTotalConsume == 0) {166 if (uiTotalConsume == 0) {
167 MT_TRACE_LOG (NULL, WELS_LOG_DEBUG,167 MT_TRACE_LOG (NULL, WELS_LOG_DEBUG,

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