ref: 57f4548dafde69d65a5051de2e4218cbef969966
parent: 5948e8af3f666a9a0582130af7b0f5050dbef551
parent: febb3ebb9ba8ae64a2bb578d8886b7bc476ab058
author: dongzha <[email protected]>
date: Mon Aug 11 10:31:41 EDT 2014
Merge pull request #1262 from ruil2/fix_errors fix an errors that for single slice mode, the number of slices should be 1
--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -279,7 +279,6 @@
case SM_SINGLE_SLICE:
pSpatialLayer->sSliceCfg.sSliceArgument.uiSliceNum = 1;
pSpatialLayer->sSliceCfg.sSliceArgument.uiSliceSizeConstraint = 0;
- pSpatialLayer->sSliceCfg.sSliceArgument.uiSliceNum = 0;
for (iIdx = 0; iIdx < MAX_SLICES_NUM; iIdx++) {
pSpatialLayer->sSliceCfg.sSliceArgument.uiSliceMbNum[iIdx] = 0;
}