summaryrefslogtreecommitdiff
path: root/src/gen9_mfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen9_mfd.c')
-rw-r--r--src/gen9_mfd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gen9_mfd.c b/src/gen9_mfd.c
index d9ca3be..2d8ed7d 100644
--- a/src/gen9_mfd.c
+++ b/src/gen9_mfd.c
@@ -1277,6 +1277,7 @@ gen9_hcpd_init_vp9_surface(VADriverContextP ctx,
if (!gen9_vp9_surface) {
gen9_vp9_surface = calloc(sizeof(GenVP9Surface), 1);
+ assert(gen9_vp9_surface);
gen9_vp9_surface->base.frame_store_id = -1;
obj_surface->private_data = gen9_vp9_surface;
}