diff --git a/codec/console/enc/src/welsenc.cpp b/codec/console/enc/src/welsenc.cpp index 03f5701e..75169eaf 100644 --- a/codec/console/enc/src/welsenc.cpp +++ b/codec/console/enc/src/welsenc.cpp @@ -707,7 +707,7 @@ int ProcessEncoding (ISVCEncoder* pPtrEnc, int argc, char** argv, bool bConfigFi FILE* fpGolden = NULL; #endif #if defined ( STICK_STREAM_SIZE ) - FILE* fTrackStream = fopen ("coding_size.stream", "wb");; + FILE* fTrackStream = fopen ("coding_size.stream", "wb"); #endif SFilesSet fs; // for configuration file diff --git a/codec/decoder/core/src/deblocking.cpp b/codec/decoder/core/src/deblocking.cpp index 677c2709..e62a9b9e 100644 --- a/codec/decoder/core/src/deblocking.cpp +++ b/codec/decoder/core/src/deblocking.cpp @@ -633,7 +633,7 @@ void FilteringEdgeChromaHV (PDqLayer pCurDqLayer, PDeblockingFilter pFilter, in } pFilter->iChromaQP[0] = pCurQp[0]; - pFilter->iChromaQP[1] = pCurQp[1];; + pFilter->iChromaQP[1] = pCurQp[1]; if (pFilter->iChromaQP[0] == pFilter->iChromaQP[1]) { GET_ALPHA_BETA_FROM_QP (pFilter->iChromaQP[0], pFilter->iSliceAlphaC0Offset, pFilter->iSliceBetaOffset, iIndexA, iAlpha, iBeta); diff --git a/codec/decoder/core/src/error_concealment.cpp b/codec/decoder/core/src/error_concealment.cpp index 824626b8..b253cc5b 100644 --- a/codec/decoder/core/src/error_concealment.cpp +++ b/codec/decoder/core/src/error_concealment.cpp @@ -125,7 +125,7 @@ void DoErrorConSliceCopy (PWelsDecoderContext pCtx) { if (pSrcPic != NULL) { iSrcStride = pSrcPic->iLinesize[0]; //Y component - pDstData = pDstPic->pData[0] + iMbY * 16 * iDstStride + iMbX * 16;; + pDstData = pDstPic->pData[0] + iMbY * 16 * iDstStride + iMbX * 16; pSrcData = pSrcPic->pData[0] + iMbY * 16 * iSrcStride + iMbX * 16; pCtx->sCopyFunc.pCopyLumaFunc (pDstData, iDstStride, pSrcData, iSrcStride); //U component diff --git a/codec/encoder/core/src/ratectl.cpp b/codec/encoder/core/src/ratectl.cpp index d6eec212..f68aae2d 100644 --- a/codec/encoder/core/src/ratectl.cpp +++ b/codec/encoder/core/src/ratectl.cpp @@ -564,7 +564,7 @@ void RcInitGomParameters (sWelsEncCtx* pEncCtx) { const int32_t kiGlobalQp = pEncCtx->iGlobalQp; pWelsSvcRc->iAverageFrameQp = 0; - pWelsSvcRc->iMinFrameQp = 51;; + pWelsSvcRc->iMinFrameQp = 51; pWelsSvcRc->iMaxFrameQp = 0; for (int32_t i = 0; i < kiSliceNum; ++i) { pSOverRc->iComplexityIndexSlice = 0; diff --git a/codec/processing/src/complexityanalysis/ComplexityAnalysis.cpp b/codec/processing/src/complexityanalysis/ComplexityAnalysis.cpp index b5f0bc01..7164986c 100644 --- a/codec/processing/src/complexityanalysis/ComplexityAnalysis.cpp +++ b/codec/processing/src/complexityanalysis/ComplexityAnalysis.cpp @@ -322,7 +322,7 @@ EResult CComplexityAnalysisScreen::Process (int32_t nType, SPixMap* pSrc, SPixMa } else if (!bScrollFlag || ((iScrollMvX == 0) && (iScrollMvY == 0))) { GomComplexityAnalysisInter (pSrc, pRef, 0); } else { - GomComplexityAnalysisInter (pSrc, pRef, 1);; + GomComplexityAnalysisInter (pSrc, pRef, 1); } return RET_SUCCESS; diff --git a/test/api/encode_decode_api_test.cpp b/test/api/encode_decode_api_test.cpp index 3e565a79..b2011be2 100644 --- a/test/api/encode_decode_api_test.cpp +++ b/test/api/encode_decode_api_test.cpp @@ -3023,7 +3023,7 @@ TEST_F (EncodeDecodeTestAPI, ParameterSetStrategy_SPS_PPS_LISTING3) { TEST_F (EncodeDecodeTestAPI, SimulcastSVC) { #define LAYER_NUM (4) - int iSpatialLayerNum = WelsClip3 ((rand() % LAYER_NUM), 2, LAYER_NUM);; + int iSpatialLayerNum = WelsClip3 ((rand() % LAYER_NUM), 2, LAYER_NUM); int iWidth = WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_WIDTH); int iHeight = WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_HEIGHT); float fFrameRate = rand() + 0.5f; @@ -3137,7 +3137,7 @@ TEST_F (EncodeDecodeTestAPI, SimulcastSVC) { TEST_F (EncodeDecodeTestAPI, SimulcastAVC) { //#define DEBUG_FILE_SAVE3 #define LAYER_NUM (4) - int iSpatialLayerNum = WelsClip3 ((rand() % LAYER_NUM), 2, LAYER_NUM);; + int iSpatialLayerNum = WelsClip3 ((rand() % LAYER_NUM), 2, LAYER_NUM); int iWidth = WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_WIDTH); int iHeight = WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_HEIGHT); float fFrameRate = rand() + 0.5f; diff --git a/test/decoder/DecUT_ParseSyntax.cpp b/test/decoder/DecUT_ParseSyntax.cpp index 01c039e6..3c2b0e51 100644 --- a/test/decoder/DecUT_ParseSyntax.cpp +++ b/test/decoder/DecUT_ParseSyntax.cpp @@ -250,9 +250,9 @@ void DecoderParseSyntaxTest::TestScalingList() { Init(); DecodeBs ("res/BA_MW_D.264"); ASSERT_TRUE (m_pCtx->sSpsBuffer[0].bSeqScalingMatrixPresentFlag == false); - EXPECT_EQ (0, memcmp (iScalingListPPS, m_pCtx->sSpsBuffer[0].iScalingList4x4, 6 * 16 * sizeof (uint8_t)));; + EXPECT_EQ (0, memcmp (iScalingListPPS, m_pCtx->sSpsBuffer[0].iScalingList4x4, 6 * 16 * sizeof (uint8_t))); ASSERT_TRUE (m_pCtx->sPpsBuffer[0].bPicScalingMatrixPresentFlag == false); - EXPECT_EQ (0, memcmp (iScalingListPPS, m_pCtx->sPpsBuffer[0].iScalingList4x4, 6 * 16 * sizeof (uint8_t)));; + EXPECT_EQ (0, memcmp (iScalingListPPS, m_pCtx->sPpsBuffer[0].iScalingList4x4, 6 * 16 * sizeof (uint8_t))); Uninit(); //Scalinglist value just written into sps and pps Init(); diff --git a/test/encoder/EncUT_MotionEstimate.cpp b/test/encoder/EncUT_MotionEstimate.cpp index f1224bef..194587c8 100644 --- a/test/encoder/EncUT_MotionEstimate.cpp +++ b/test/encoder/EncUT_MotionEstimate.cpp @@ -278,7 +278,7 @@ TEST_F (MotionEstimateRangeTest, TestWelsMotionCrossSearch) { sMe.iCurMeBlockPixX = (iMbx << 4); sMe.iCurMeBlockPixY = (iMby << 4); sMe.pRefMb = pRef + sMe.iCurMeBlockPixX + sMe.iCurMeBlockPixY * m_iWidthExt; - sMe.pEncMb = m_pSrc + sMe.iCurMeBlockPixX + sMe.iCurMeBlockPixY * m_iWidth;; + sMe.pEncMb = m_pSrc + sMe.iCurMeBlockPixX + sMe.iCurMeBlockPixY * m_iWidth; sMe.uiSadCost = sMe.uiSatdCost = kiMaxBlock16Sad; sMe.pColoRefMb = sMe.pRefMb; WelsMotionCrossSearch (&sFuncList, &sMe, &sSlice, m_iWidth, m_iWidthExt);