Index: webrtc/test/frame_utils.h |
diff --git a/webrtc/test/frame_utils.h b/webrtc/test/frame_utils.h |
index 668d9994ab74dc7ff55f254f7d61e5dcb97159aa..aef3c9ff2af201fb6dd272a75b6a8973ad6f4c20 100644 |
--- a/webrtc/test/frame_utils.h |
+++ b/webrtc/test/frame_utils.h |
@@ -20,10 +20,19 @@ namespace test { |
bool EqualPlane(const uint8_t* data1, |
const uint8_t* data2, |
- int stride, |
+ int stride1, |
+ int stride2, |
int width, |
int height); |
+static inline bool EqualPlane(const uint8_t* data1, |
+ const uint8_t* data2, |
+ int stride, |
+ int width, |
+ int height) { |
+ return EqualPlane(data1, data2, stride, stride, width, height); |
+} |
+ |
bool FramesEqual(const webrtc::VideoFrame& f1, const webrtc::VideoFrame& f2); |
bool FrameBufsEqual(const rtc::scoped_refptr<webrtc::VideoFrameBuffer>& f1, |