summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2013-06-17 15:06:11 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-06-21 12:19:43 +0800
commit016d500c169f181186f0a0fe3ae0213e93439c34 (patch)
tree26c38e318866e32433520cb5213d774e82574701 /src
parent74ded99be2e9589ac1ac5766c5f1bee7b3f9a4fa (diff)
downloadlibva-intel-driver-016d500c169f181186f0a0fe3ae0213e93439c34.tar.gz
Fix copy&paste error
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/gen75_vpp_vebox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen75_vpp_vebox.c b/src/gen75_vpp_vebox.c
index 53bbf99e..b56ffeb5 100644
--- a/src/gen75_vpp_vebox.c
+++ b/src/gen75_vpp_vebox.c
@@ -978,7 +978,7 @@ int hsw_veb_pre_format_convert(VADriverContextP ctx,
struct object_surface* obj_surf_input_vebox;
struct object_surface* obj_surf_output_vebox;
- proc_context->format_convert_flags = 0;
+ proc_ctx->format_convert_flags = 0;
proc_ctx->width_input = obj_surf_input->orig_width;
proc_ctx->height_input = obj_surf_input->orig_height;
@@ -1101,7 +1101,7 @@ int hsw_veb_post_format_convert(VADriverContextP ctx,
{
struct object_surface *obj_surface = NULL;
- obj_surface = proc_ctx->frame_store[proc_context->current_output].obj_surface;
+ obj_surface = proc_ctx->frame_store[proc_ctx->current_output].obj_surface;
if (proc_ctx->format_convert_flags & POST_COPY_CONVERT) {
/* copy the saved frame in the second call */