ref: 0d471fbfb1471f7cf92ddeb0fc39a582fd3b4116
parent: f13a37cbf7e5936a425498d0f5f9d96a1f6eff45
parent: 2c677a2afec9be206a9ec3a4f273a557054052e6
author: James Zern <jzern@google.com>
date: Wed Jul 11 15:53:52 EDT 2018
Merge "decode_test_driver: break decompress loop on error"
--- a/test/decode_test_driver.cc
+++ b/test/decode_test_driver.cc
@@ -98,7 +98,7 @@
const vpx_image_t *img = NULL;
// Get decompressed data
- while ((img = dec_iter.Next())) {
+ while (!::testing::Test::HasFailure() && (img = dec_iter.Next())) {
DecompressedFrameHook(*img, video->frame_number());
}
}