History

fix most of the warnings

Licai Guo committed 12 years ago

Commit a688f521 parent 2a885ca10 files · +63 −53Browse files

Showing the changes to codec/decoder/core/src/deblocking.cpp (1 of 10 files). Show all

Unified · Split

codec/decoder/core/src/deblocking.cpp+4−4
@@ -131,7 +131,7 @@ static const uint8_t g_kuiTableBIdx[2][8] = { · 130 unmodified lines
131131 },
132132
133133 {
134− 0, 1, 2, 3 ,
134+ 0, 1, 2, 3,
135135 12, 13, 14, 15
136136 },
137137 };
@@ -573,7 +573,7 @@ void DeblockingIntraMb (PDqLayer pCurDqLayer, PDeblockingFilter pFilter, int32_ · 435 unmodified lines
573573 }
574574
575575 void WelsDeblockingMb (PDqLayer pCurDqLayer, PDeblockingFilter pFilter, int32_t iBoundryFlag) {
576− uint8_t nBS[2][4][4] = { 0 };
576+ uint8_t nBS[2][4][4] = {{{ 0 }}};
577577
578578 int32_t iMbXyIndex = pCurDqLayer->iMbXyIndex;
579579 int32_t iCurMbType = pCurDqLayer->pMbType[iMbXyIndex];
@@ -630,8 +630,8 @@ void WelsDeblockingFilterSlice (PWelsDecoderContext pCtx, PDeblockingFilterMbFun · 50 unmodified lines
630630 int32_t iMbWidth = pCurDqLayer->iMbWidth;
631631 int32_t iTotalMbCount = pSliceHeaderExt->sSliceHeader.pSps->uiTotalMbCount;
632632
633− SDeblockingFilter pFilter = {0};
634−
633+ SDeblockingFilter pFilter;
634+ memset (&pFilter, 0, sizeof(pFilter));
635635 PFmo pFmo = pCtx->pFmo;
636636 int32_t iNextMbXyIndex = 0;
637637 int32_t iTotalNumMb = pCurDqLayer->sLayerInfo.sSliceInLayer.iTotalMbInCurSlice;

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