History

minor naming/style/bug fixes

jwwang committed 12 years ago

Commit 94bd0971 parent 0c2227e4 files · +14 −10Browse files

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

Unified · Split

test/decode_encode_test.cpp+2−2
@@ -20,7 +20,7 @@ static void UpdateHashFromFrame(const SFrameBSInfo& info, SHA_CTX* ctx) { · 19 unmodified lines
20static void WritePlaneBuffer(BufferedData* buf, const uint8_t* plane,20static void WritePlaneBuffer(BufferedData* buf, const uint8_t* plane,
21 int width, int height, int stride) {21 int width, int height, int stride) {
22 for (int i = 0; i < height; i++) {22 for (int i = 0; i < height; i++) {
23 if (!buf->Push(plane, width)) {23 if (!buf->PushBack(plane, width)) {
24 FAIL() << "unable to allocate memory";24 FAIL() << "unable to allocate memory";
25 }25 }
26 plane += stride;26 plane += stride;
@@ -83,7 +83,7 @@ class DecodeEncodeTest : public ::testing::TestWithParam<DecodeEncodeFileParam>, · 56 unmodified lines
83 break;83 break;
84 }84 }
85 }85 }
86 return buf_.Pop(static_cast<uint8_t*>(ptr), len);86 return buf_.PopFront(static_cast<uint8_t*>(ptr), len);
87 }87 }
88 88
89 protected:89 protected:

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