From dfffd00a85aec108862bfcdbf537cc360dcca483 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Fri, 23 May 2014 08:57:39 +0800 Subject: Propagate error code Signed-off-by: Sebastian Ramacher Reviewed-by: Zhao, Yakui (cherry picked from commit ca1acd54eb59eadabfb40a4b61df2e8968b5e00d) --- src/gen75_picture_process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gen75_picture_process.c b/src/gen75_picture_process.c index 87b6c68..6978d4b 100644 --- a/src/gen75_picture_process.c +++ b/src/gen75_picture_process.c @@ -57,8 +57,8 @@ gen75_vpp_fmt_cvt(VADriverContextP ctx, proc_ctx->vpp_fmt_cvt_ctx = i965_proc_context_init(ctx, NULL); } - i965_proc_picture(ctx, profile, codec_state, - proc_ctx->vpp_fmt_cvt_ctx); + va_status = i965_proc_picture(ctx, profile, codec_state, + proc_ctx->vpp_fmt_cvt_ctx); return va_status; } -- cgit v1.2.3