From 793a29d668ad81accee2c379ee2da5e12174b0f0 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Wed, 18 Jul 2018 14:21:02 +0200 Subject: [PATCH] image: Mark unimplemented functions as such Signed-off-by: Paul Kocialkowski --- src/image.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/image.c b/src/image.c index 57d9b3e..ddfaf6b 100644 --- a/src/image.c +++ b/src/image.c @@ -179,14 +179,14 @@ VAStatus RequestQueryImageFormats(VADriverContextP context, VAStatus RequestSetImagePalette(VADriverContextP context, VAImageID image_id, unsigned char *palette) { - return VA_STATUS_SUCCESS; + return VA_STATUS_ERROR_UNIMPLEMENTED; } VAStatus RequestGetImage(VADriverContextP context, VASurfaceID surface_id, int x, int y, unsigned int width, unsigned int height, VAImageID image_id) { - return VA_STATUS_SUCCESS; + return VA_STATUS_ERROR_UNIMPLEMENTED; } VAStatus RequestPutImage(VADriverContextP context, VASurfaceID surface_id, @@ -195,5 +195,5 @@ VAStatus RequestPutImage(VADriverContextP context, VASurfaceID surface_id, int dst_x, int dst_y, unsigned int dst_width, unsigned int dst_height) { - return VA_STATUS_SUCCESS; + return VA_STATUS_ERROR_UNIMPLEMENTED; }