summaryrefslogtreecommitdiff
path: root/test/encode/mpeg2vaenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/encode/mpeg2vaenc.c')
-rw-r--r--test/encode/mpeg2vaenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/encode/mpeg2vaenc.c b/test/encode/mpeg2vaenc.c
index f49af27..fd9c5ca 100644
--- a/test/encode/mpeg2vaenc.c
+++ b/test/encode/mpeg2vaenc.c
@@ -831,6 +831,7 @@ mpeg2enc_alloc_va_resources(struct mpeg2enc_context *ctx)
max_entrypoints = vaMaxNumEntrypoints(ctx->va_dpy);
entrypoint_list = malloc(max_entrypoints * sizeof(VAEntrypoint));
+ assert(entrypoint_list);
vaQueryConfigEntrypoints(ctx->va_dpy,
ctx->profile,
entrypoint_list,