summaryrefslogtreecommitdiff
path: root/test/i965_jpeg_encode_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/i965_jpeg_encode_test.cpp')
-rw-r--r--test/i965_jpeg_encode_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/i965_jpeg_encode_test.cpp b/test/i965_jpeg_encode_test.cpp
index c794bf93..25302888 100644
--- a/test/i965_jpeg_encode_test.cpp
+++ b/test/i965_jpeg_encode_test.cpp
@@ -85,7 +85,7 @@ TEST_F(JPEGEncodeTest, Entrypoint)
const TestInput::Shared NV12toI420(const TestInput::SharedConst& nv12)
{
TestInput::Shared i420(
- new TestInput(VA_FOURCC_I420, nv12->width(), nv12->height()));
+ TestInput::create(VA_FOURCC_I420, nv12->width(), nv12->height()));
i420->bytes = nv12->bytes;