summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/decode_test_driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/decode_test_driver.cc b/test/decode_test_driver.cc
index f6224820a..ae2358775 100644
--- a/test/decode_test_driver.cc
+++ b/test/decode_test_driver.cc
@@ -98,7 +98,7 @@ void DecoderTest::RunLoop(CompressedVideoSource *video,
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());
}
}