From: James Zern Date: Thu, 8 Mar 2018 07:07:51 +0000 (-0800) Subject: vpx_scale_test: add w/h output to alloc failure X-Git-Tag: v1.8.0~815^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ed4c253a97e7b2950ad42c82ee4d50299fcc1f9;p=libvpx vpx_scale_test: add w/h output to alloc failure Change-Id: Ib5df91d9fcd7fe973a2f7d8e73a204259beddc07 --- diff --git a/test/vpx_scale_test.h b/test/vpx_scale_test.h index dcbd02b91..ac1e9b03c 100644 --- a/test/vpx_scale_test.h +++ b/test/vpx_scale_test.h @@ -33,7 +33,8 @@ class VpxScaleBase { const int height) { memset(img, 0, sizeof(*img)); ASSERT_EQ( - 0, vp8_yv12_alloc_frame_buffer(img, width, height, VP8BORDERINPIXELS)); + 0, vp8_yv12_alloc_frame_buffer(img, width, height, VP8BORDERINPIXELS)) + << "for width: " << width << " height: " << height; memset(img->buffer_alloc, kBufFiller, img->frame_size); }