summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLim Siew Hoon <siew.hoon.lim@intel.com>2015-08-26 12:31:21 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2015-09-06 13:11:26 +0800
commiteb06298ecadf53a752abbb99208a37bda3e90c30 (patch)
treec15cb4b892f8b5fb4aad421548a576c1497e25f4
parente12ddd354454a6491b24be202f0f56d401ab0a1b (diff)
Fix suspiciously placed semicolon at if statement.
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
-rw-r--r--src/gen6_mfc.c4
-rw-r--r--src/gen75_mfc.c4
-rw-r--r--src/gen8_mfc.c4
-rw-r--r--src/gen9_mfc.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/src/gen6_mfc.c b/src/gen6_mfc.c
index 455721f..1b4fc71 100644
--- a/src/gen6_mfc.c
+++ b/src/gen6_mfc.c
@@ -564,8 +564,8 @@ gen6_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;
}
diff --git a/src/gen75_mfc.c b/src/gen75_mfc.c
index a6a3c1d..db5f382 100644
--- a/src/gen75_mfc.c
+++ b/src/gen75_mfc.c
@@ -458,8 +458,8 @@ static void gen75_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;
}
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;
}
diff --git a/src/gen9_mfc.c b/src/gen9_mfc.c
index 63a9c21..6cca579 100644
--- a/src/gen9_mfc.c
+++ b/src/gen9_mfc.c
@@ -435,8 +435,8 @@ static void gen9_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;
}