History

add parenthses

Licai Guo committed 12 years ago

Commit 56767f81 parent 1a046942 files · +2 −2Browse files

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

Unified · Split

codec/decoder/core/src/decoder.cpp+1−1
@@ -690,7 +690,7 @@ int32_t SyncPictureResolutionExt (PWelsDecoderContext pCtx, const int32_t kiMbWi · 689 unmodified lines
690 */690 */
691void_t UpdateMaxPictureResolution (PWelsDecoderContext pCtx, const int32_t kiCurWidth, const int32_t kiCurHeight) {691void_t UpdateMaxPictureResolution (PWelsDecoderContext pCtx, const int32_t kiCurWidth, const int32_t kiCurHeight) {
692 //any dimension larger than that of current dimension, should modify the max-dimension692 //any dimension larger than that of current dimension, should modify the max-dimension
693 if (kiCurWidth * kiCurHeight > pCtx->iMaxWidthInSps * pCtx->iMaxHeightInSps) {693 if ((kiCurWidth * kiCurHeight) > (pCtx->iMaxWidthInSps * pCtx->iMaxHeightInSps)) {
694 pCtx->iMaxWidthInSps = kiCurWidth;694 pCtx->iMaxWidthInSps = kiCurWidth;
695 pCtx->iMaxHeightInSps = kiCurHeight;695 pCtx->iMaxHeightInSps = kiCurHeight;
696 }696 }

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