History

Remove a write-only variable

This fixes warnings with GCC about a variable that is set but not used.

Martin Storsjö committed 11 years ago

Commit 328094a1 parent 59aee601 file · +0 −2Browse files

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

Unified · Split

codec/decoder/core/src/decode_slice.cpp+0−2
@@ -921,10 +921,8 @@ int32_t WelsDecodeMbCabacPSlice (PWelsDecoderContext pCtx, PNalUnit pNalCur, uin · 920 unmodified lines
921}921}
922// Calculate deqaunt coeff scaling list value922// Calculate deqaunt coeff scaling list value
923int32_t WelsCalcDeqCoeffScalingList (PWelsDecoderContext pCtx) {923int32_t WelsCalcDeqCoeffScalingList (PWelsDecoderContext pCtx) {
924 int32_t iScalingListNum = 0;
925 if (pCtx->pSps->bSeqScalingMatrixPresentFlag || pCtx->pPps->bPicScalingMatrixPresentFlag) {924 if (pCtx->pSps->bSeqScalingMatrixPresentFlag || pCtx->pPps->bPicScalingMatrixPresentFlag) {
926 pCtx->bUseScalingList = true;925 pCtx->bUseScalingList = true;
927 iScalingListNum = (pCtx->pSps->uiChromaFormatIdc != 3) ? 8 : 12;
928 926
929 if (!pCtx->bDequantCoeff4x4Init || (pCtx->iDequantCoeffPpsid != pCtx->pPps->iPpsId)) {927 if (!pCtx->bDequantCoeff4x4Init || (pCtx->iDequantCoeffPpsid != pCtx->pPps->iPpsId)) {
930 int i, q, x;928 int i, q, x;

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