vpx_scale_test: add w/h output to alloc failure

Change-Id: Ib5df91d9fcd7fe973a2f7d8e73a204259beddc07
This commit is contained in:
James Zern 2018-03-07 23:07:51 -08:00
parent 0bee6de332
commit 6ed4c253a9

View File

@ -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);
}