OSDN Git Service

Fix copy&paste error
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 17 Jun 2013 07:06:11 +0000 (15:06 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 21 Jun 2013 04:19:43 +0000 (12:19 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/gen75_vpp_vebox.c

index 53bbf99..b56ffeb 100644 (file)
@@ -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 */