History

Merge pull request #1703 from mstorsjo/add-cast

Add a cast to silence GCC warnings about comparison between signed and unsigned

Ethan Hugg committed 11 years ago

Commit 178a18b2 parents 62c6a1e 5c3c2a51 file · +1 −1Browse files

Showing the changes to codec/decoder (1 of 1 file). Show all

Unified · Split

codec/decoder/core/src/decoder_core.cpp+1−1
@@ -1762,7 +1762,7 @@ int32_t ConstructAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBufferI · 1761 unmodified lines
1762 iErr = DecodeCurrentAccessUnit (pCtx, ppDst, pDstInfo);1762 iErr = DecodeCurrentAccessUnit (pCtx, ppDst, pDstInfo);
1763 1763
1764 if (pCtx->bParseOnly) {1764 if (pCtx->bParseOnly) {
1765 if ((dsErrorFree == pCtx->iErrorCode) && (pCtx->iTotalNumMbRec == pCtx->pSps->iMbHeight * pCtx->pSps->iMbWidth)) {1765 if ((dsErrorFree == pCtx->iErrorCode) && ((uint32_t) pCtx->iTotalNumMbRec == pCtx->pSps->iMbHeight * pCtx->pSps->iMbWidth)) {
1766 SParserBsInfo* pParser = pCtx->pParserBsInfo;1766 SParserBsInfo* pParser = pCtx->pParserBsInfo;
1767 uint8_t* pDstBuf = pParser->pDstBuff;1767 uint8_t* pDstBuf = pParser->pDstBuff;
1768 SNalUnit* pCurNal = NULL;1768 SNalUnit* pCurNal = NULL;

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