Commit 8619274e authored by Jim Bankoski's avatar Jim Bankoski
Browse files

assert that the write writes the whole packet

As a side effect this should avoid an unsigned signed failure in

Change-Id: I8e6a9c3dbd4252d37e6325f95fc80e49ce4cc59e
parent 4e04fa6d
......@@ -176,7 +176,8 @@ class VP9NewEncodeDecodePerfTest :
// Write frame header and data.
ivf_write_frame_header(outfile_, out_frames_, pkt->;
ASSERT_GT(fwrite(pkt->data.frame.buf, 1, pkt->, outfile_), 0);
ASSERT_EQ(fwrite(pkt->data.frame.buf, 1, pkt->, outfile_),
virtual bool DoDecode() { return false; }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment