History

prevent int32 multiplication overflow

huili2 committed 12 years ago

Commit 606d7481 parent 6e8fceb3 files · +14 −14Browse files

Showing the changes to test/api/decode_encode_test.cpp (1 of 3 files). Show all

Unified · Split

test/api/decode_encode_test.cpp+2−2
@@ -104,8 +104,8 @@ TEST_P(DecodeEncodeTest, CompareOutput) { · 103 unmodified lines
104}104}
105 105
106static const DecodeEncodeFileParam kFileParamArray[] = {106static const DecodeEncodeFileParam kFileParamArray[] = {
107 {"res/test_vd_1d.264", "16b6379ce3711c57ea966e8da3e6b9815bf5ef4e", 320, 192, 12.0f},107 {"res/test_vd_1d.264", "a4c7299ec1a7bacd5819685e221a79ac2b56cdbc", 320, 192, 12.0f},
108 {"res/test_vd_rc.264", "03a93dbf5482b4a799d52d5fd373fde58a782e12", 320, 192, 12.0f},108 {"res/test_vd_rc.264", "106fd8cc978c1801b0d1f8297e9b7f17d5336e15", 320, 192, 12.0f},
109};109};
110 110
111INSTANTIATE_TEST_CASE_P(DecodeEncodeFile, DecodeEncodeTest,111INSTANTIATE_TEST_CASE_P(DecodeEncodeFile, DecodeEncodeTest,

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