ref: febb3ebb9ba8ae64a2bb578d8886b7bc476ab058
parent: 5948e8af3f666a9a0582130af7b0f5050dbef551
author: ruil2 <ruil2@cisco.com>
date: Mon Aug 11 09:58:33 EDT 2014
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;
}