summaryrefslogtreecommitdiffstats
path: root/third_party/aom/test/decode_test_driver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/test/decode_test_driver.cc')
-rw-r--r--third_party/aom/test/decode_test_driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/aom/test/decode_test_driver.cc b/third_party/aom/test/decode_test_driver.cc
index ed261b527..70de0cff6 100644
--- a/third_party/aom/test/decode_test_driver.cc
+++ b/third_party/aom/test/decode_test_driver.cc
@@ -94,7 +94,7 @@ void DecoderTest::RunLoop(CompressedVideoSource *video,
const aom_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());
}
delete decoder;