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
2020 static void WritePlaneBuffer(BufferedData* buf, const uint8_t* plane,
2121 int width, int height, int stride) {
2222 for (int i = 0; i < height; i++) {
23− if (!buf->Push(plane, width)) {
23+ if (!buf->PushBack(plane, width)) {
2424 FAIL() << "unable to allocate memory";
2525 }
2626 plane += stride;
@@ -83,7 +83,7 @@ class DecodeEncodeTest : public ::testing::TestWithParam<DecodeEncodeFileParam>, · 56 unmodified lines
8383 break;
8484 }
8585 }
86− return buf_.Pop(static_cast<uint8_t*>(ptr), len);
86+ return buf_.PopFront(static_cast<uint8_t*>(ptr), len);
8787 }
8888
8989 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