ref: 5c67f368c3397b7ccfce7a7ecea49c42d5705b29
parent: f8d5f93b16b788f7326aa7f286601810571c9e78
parent: e7cd53e81b43a841c1256d890e77534a20f6b0ab
author: Ethan Hugg <ethanhugg@gmail.com>
date: Tue Sep 16 04:35:39 EDT 2014
Merge pull request #1357 from mstorsjo/silence-warnings Fix build warnings with gcc in EncodeDecodeTest
--- a/test/api/encode_decode_api_test.cpp
+++ b/test/api/encode_decode_api_test.cpp
@@ -270,7 +270,7 @@
if (m_P2PmodeFlag && temple_id == 0) {
pDecoder->GetOption (DECODER_OPTION_IDR_PIC_ID, &tempInt);
// idr_pic_id change ,reset last correct position
- if (p_LTR_Recover_Request->uiIDRPicId != tempInt) {
+ if (p_LTR_Recover_Request->uiIDRPicId != (unsigned int) tempInt) {
p_LTR_Recover_Request->uiIDRPicId = tempInt;
p_LTR_Recover_Request->iLastCorrectFrameNum = -1;
}
@@ -731,6 +731,7 @@
LTRMarkFeedback (decoder_, encoder_, &m_LTR_Marking_Feedback, rv);
iIdx++;
}
+ (void) iSkipedBytes;
}
INSTANTIATE_TEST_CASE_P (EncodeDecodeTestBase, EncodeDecodeTestAPI,