ref: dbe691709ee68ef8bd9cd81508c6d619fccc1480
parent: f0f9ab68ae356c76b0a42eec6c799497c06b448d
author: James Zern <[email protected]>
date: Fri Aug 22 08:11:42 EDT 2014
resize_test.cc: remove unused param warnings Change-Id: I86b21186e49f9e0ec0d8eb3addaa44b9fd196a6b
--- a/test/resize_test.cc
+++ b/test/resize_test.cc
@@ -211,8 +211,8 @@
EXPECT_NEAR(pkt->data.psnr.psnr[0], frame0_psnr_, 2.0);
}
- virtual void FramePktHook(const vpx_codec_cx_pkt_t *pkt) {
#if WRITE_COMPRESSED_STREAM
+ virtual void FramePktHook(const vpx_codec_cx_pkt_t *pkt) {
++out_frames_;
// Write initial file header if first frame.
@@ -222,8 +222,8 @@
// Write frame header and data.
write_ivf_frame_header(pkt, outfile_);
(void)fwrite(pkt->data.frame.buf, 1, pkt->data.frame.sz, outfile_);
-#endif
}
+#endif
double frame0_psnr_;
#if WRITE_COMPRESSED_STREAM