History

remove redundant condition

sijchen@cisco.com committed 8 years ago

Commit 316f9f41 parent 30a49621 file · +1 −1Browse files

Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 1 file). Show all

Unified · Split

codec/encoder/plus/src/welsEncoderExt.cpp+1−1
@@ -727,7 +727,7 @@ int CWelsH264SVCEncoder::SetOption (ENCODER_OPTION eOptionId, void* pOption) { · 726 unmodified lines
727727 int32_t iValue = * ((int32_t*)pOption);
728728 WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO,
729729 "CWelsH264SVCEncoder::SetOption():ENCODER_OPTION_IDR_INTERVAL iValue = %d", iValue);
730− if (iValue <= -1 || iValue == 0) {
730+ if ( iValue <= -1 ) {
731731 iValue = 0;
732732 }
733733 if (iValue == (int32_t)m_pEncContext->pSvcParam->uiIntraPeriod) {

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