summaryrefslogtreecommitdiff
path: root/src/gen75_mfc.c
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2012-11-27 15:49:24 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2012-12-14 15:03:44 +0800
commite6aff72b1674cf194ed9ea0caf8f37824c432e78 (patch)
tree2608734983807ecae9a6c5c154a2cff876c68545 /src/gen75_mfc.c
parentae59dbd539382e51b6e84f9233f31b3211cb2712 (diff)
downloadlibva-intel-driver-e6aff72b1674cf194ed9ea0caf8f37824c432e78.tar.gz
libva-intel-driver-e6aff72b1674cf194ed9ea0caf8f37824c432e78.tar.bz2
libva-intel-driver-e6aff72b1674cf194ed9ea0caf8f37824c432e78.zip
rename I965_CODEDBUFFER_SIZE
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src/gen75_mfc.c')
-rw-r--r--src/gen75_mfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen75_mfc.c b/src/gen75_mfc.c
index 47741a9..7ba653f 100644
--- a/src/gen75_mfc.c
+++ b/src/gen75_mfc.c
@@ -2309,7 +2309,7 @@ intel_mfc_mpeg2_prepare(VADriverContextP ctx,
bo = obj_buffer->buffer_store->bo;
assert(bo);
mfc_context->mfc_indirect_pak_bse_object.bo = bo;
- mfc_context->mfc_indirect_pak_bse_object.offset = I965_CODEDBUFFER_SIZE;
+ mfc_context->mfc_indirect_pak_bse_object.offset = I965_CODEDBUFFER_HEADER_SIZE;
mfc_context->mfc_indirect_pak_bse_object.end_offset = ALIGN(obj_buffer->size_element - 0x1000, 0x1000);
dri_bo_reference(mfc_context->mfc_indirect_pak_bse_object.bo);