aboutsummaryrefslogtreecommitdiff
path: root/libvpx/test/vp9_ethread_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libvpx/test/vp9_ethread_test.cc')
-rw-r--r--libvpx/test/vp9_ethread_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvpx/test/vp9_ethread_test.cc b/libvpx/test/vp9_ethread_test.cc
index 21caf7918..238366cb6 100644
--- a/libvpx/test/vp9_ethread_test.cc
+++ b/libvpx/test/vp9_ethread_test.cc
@@ -98,6 +98,7 @@ class VPxFirstPassEncoderThreadTest
firstpass_stats_.buf =
realloc(firstpass_stats_.buf, firstpass_stats_.sz + pkt_size);
+ ASSERT_NE(firstpass_stats_.buf, nullptr);
memcpy((uint8_t *)firstpass_stats_.buf + firstpass_stats_.sz, pkt_buf,
pkt_size);
firstpass_stats_.sz += pkt_size;