summaryrefslogtreecommitdiff
path: root/src/gen8_mfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen8_mfc.c')
-rw-r--r--src/gen8_mfc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen8_mfc.c b/src/gen8_mfc.c
index edf957b..2da27a4 100644
--- a/src/gen8_mfc.c
+++ b/src/gen8_mfc.c
@@ -511,8 +511,8 @@ static void gen8_mfc_init(VADriverContextP ctx,
mfc_context->mfc_indirect_pak_bse_object.bo = NULL;
for (i = 0; i < NUM_MFC_DMV_BUFFERS; i++){
- if ( mfc_context->direct_mv_buffers[i].bo != NULL);
- dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo);
+ if (mfc_context->direct_mv_buffers[i].bo != NULL)
+ dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo);
mfc_context->direct_mv_buffers[i].bo = NULL;
}