History

fix an errors that for single slice mode, the number of slices should be 1

ruil2 committed 12 years ago

Commit febb3eb1 parent 5948e8a1 file · +0 −1Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+0−1
@@ -279,7 +279,6 @@ int32_t ParamValidationExt (SLogContext* pLogCtx, SWelsSvcCodingParam* pCodingPa · 278 unmodified lines
279279 case SM_SINGLE_SLICE:
280280 pSpatialLayer->sSliceCfg.sSliceArgument.uiSliceNum = 1;
281281 pSpatialLayer->sSliceCfg.sSliceArgument.uiSliceSizeConstraint = 0;
282− pSpatialLayer->sSliceCfg.sSliceArgument.uiSliceNum = 0;
283282 for (iIdx = 0; iIdx < MAX_SLICES_NUM; iIdx++) {
284283 pSpatialLayer->sSliceCfg.sSliceArgument.uiSliceMbNum[iIdx] = 0;
285284 }

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