diff --git a/test/decode_perf_test.cc b/test/decode_perf_test.cc index 53594ae4d..ee26c3c04 100644 --- a/test/decode_perf_test.cc +++ b/test/decode_perf_test.cc @@ -28,7 +28,6 @@ namespace { #define VIDEO_NAME 0 #define THREADS 1 -const int kMaxPsnr = 100; const double kUsecsInSec = 1000000.0; const char kNewEncodeOutputFile[] = "new_encode.ivf"; @@ -176,7 +175,7 @@ class VP9NewEncodeDecodePerfTest pkt->data.frame.sz); } - virtual bool DoDecode() { return false; } + virtual bool DoDecode() const { return false; } void set_speed(unsigned int speed) { speed_ = speed; } diff --git a/test/encode_perf_test.cc b/test/encode_perf_test.cc index 53dd29a4b..0bb435502 100644 --- a/test/encode_perf_test.cc +++ b/test/encode_perf_test.cc @@ -105,7 +105,7 @@ class VP9EncodePerfTest } // for performance reasons don't decode - virtual bool DoDecode() { return 0; } + virtual bool DoDecode() const { return false; } double min_psnr() const { return min_psnr_; }