Fix build issue with clang.
BUG= TEST= Review URL: http://webrtc-codereview.appspot.com/330009 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1244 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
8dc9e4760e
commit
62fdc42e9c
@ -77,7 +77,7 @@ void VP8RpsTest::Perform() {
|
||||
double starttime = clock()/(double)CLOCKS_PER_SEC;
|
||||
while (!complete) {
|
||||
CodecSpecific_InitBitrate();
|
||||
complete = Encode(&decCallback2);
|
||||
complete = EncodeRps(&decCallback2);
|
||||
if (!frameQueue.Empty() || complete) {
|
||||
while (!frameQueue.Empty()) {
|
||||
_frameToDecode =
|
||||
@ -132,7 +132,7 @@ void VP8RpsTest::Perform() {
|
||||
Teardown();
|
||||
}
|
||||
|
||||
bool VP8RpsTest::Encode(RpsDecodeCompleteCallback* decodeCallback) {
|
||||
bool VP8RpsTest::EncodeRps(RpsDecodeCompleteCallback* decodeCallback) {
|
||||
_lengthEncFrame = 0;
|
||||
size_t bytes_read = fread(_sourceBuffer, 1, _lengthSourceFrame, _sourceFile);
|
||||
if (bytes_read < _lengthSourceFrame)
|
||||
|
@ -25,7 +25,7 @@ class VP8RpsTest : public VP8NormalAsyncTest {
|
||||
private:
|
||||
VP8RpsTest(std::string name, std::string description, unsigned int testNo)
|
||||
: VP8NormalAsyncTest(name, description, testNo) {}
|
||||
virtual bool Encode(RpsDecodeCompleteCallback* decodeCallback);
|
||||
virtual bool EncodeRps(RpsDecodeCompleteCallback* decodeCallback);
|
||||
virtual int Decode(int lossValue = 0);
|
||||
|
||||
static bool CheckIfBitExact(const void *ptrA, unsigned int aLengthBytes,
|
||||
|
Loading…
Reference in New Issue
Block a user