History

Silence warnings with gcc in GetOptionTid_AVC_NOPREFIX

Martin Storsjö committed 12 years ago

Commit a59a9891 parent 06e56ec1 file · +2 −1Browse files

Showing the changes to test/api/encode_decode_api_test.cpp (1 of 1 file). Show all

Unified · Split

test/api/encode_decode_api_test.cpp+2−1
@@ -885,13 +885,14 @@ TEST_P (EncodeDecodeTestAPI, GetOptionTid_AVC_NOPREFIX) { · 884 unmodified lines
885 decoder_->GetOption (DECODER_OPTION_TEMPORAL_ID, &iTid);885 decoder_->GetOption (DECODER_OPTION_TEMPORAL_ID, &iTid);
886 std::vector<SLostSim>::iterator iter = m_SLostSim.begin();886 std::vector<SLostSim>::iterator iter = m_SLostSim.begin();
887 bool bHasVCL = false;887 bool bHasVCL = false;
888 for (int k = 0; k < m_SLostSim.size(); k++) {888 for (unsigned int k = 0; k < m_SLostSim.size(); k++) {
889 if (IS_VCL_NAL (iter->eNalType, 0) && iter->isLost == false) {889 if (IS_VCL_NAL (iter->eNalType, 0) && iter->isLost == false) {
890 bHasVCL = true;890 bHasVCL = true;
891 break;891 break;
892 }892 }
893 iter++;893 iter++;
894 }894 }
895 (void) bHasVCL;
895 if (iTid != -1) {896 if (iTid != -1) {
896 ASSERT_EQ (iTid, 0);897 ASSERT_EQ (iTid, 0);
897 }898 }

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