• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/intel-driver


コミットメタ情報

リビジョンeb06298ecadf53a752abbb99208a37bda3e90c30 (tree)
日時2015-09-06 14:11:26
作者Lim Siew Hoon <siew.hoon.lim@inte...>
コミッターXiang, Haihao

ログメッセージ

Fix suspiciously placed semicolon at if statement.

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>

変更サマリ

差分

--- a/src/gen6_mfc.c
+++ b/src/gen6_mfc.c
@@ -564,8 +564,8 @@ gen6_mfc_init(VADriverContextP ctx,
564564 mfc_context->mfc_indirect_pak_bse_object.bo = NULL;
565565
566566 for (i = 0; i < NUM_MFC_DMV_BUFFERS; i++){
567- if ( mfc_context->direct_mv_buffers[i].bo != NULL);
568- dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo);
567+ if (mfc_context->direct_mv_buffers[i].bo != NULL)
568+ dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo);
569569 mfc_context->direct_mv_buffers[i].bo = NULL;
570570 }
571571
--- a/src/gen75_mfc.c
+++ b/src/gen75_mfc.c
@@ -458,8 +458,8 @@ static void gen75_mfc_init(VADriverContextP ctx,
458458 mfc_context->mfc_indirect_pak_bse_object.bo = NULL;
459459
460460 for (i = 0; i < NUM_MFC_DMV_BUFFERS; i++){
461- if ( mfc_context->direct_mv_buffers[i].bo != NULL);
462- dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo);
461+ if (mfc_context->direct_mv_buffers[i].bo != NULL)
462+ dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo);
463463 mfc_context->direct_mv_buffers[i].bo = NULL;
464464 }
465465
--- a/src/gen8_mfc.c
+++ b/src/gen8_mfc.c
@@ -511,8 +511,8 @@ static void gen8_mfc_init(VADriverContextP ctx,
511511 mfc_context->mfc_indirect_pak_bse_object.bo = NULL;
512512
513513 for (i = 0; i < NUM_MFC_DMV_BUFFERS; i++){
514- if ( mfc_context->direct_mv_buffers[i].bo != NULL);
515- dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo);
514+ if (mfc_context->direct_mv_buffers[i].bo != NULL)
515+ dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo);
516516 mfc_context->direct_mv_buffers[i].bo = NULL;
517517 }
518518
--- a/src/gen9_mfc.c
+++ b/src/gen9_mfc.c
@@ -435,8 +435,8 @@ static void gen9_mfc_init(VADriverContextP ctx,
435435 mfc_context->mfc_indirect_pak_bse_object.bo = NULL;
436436
437437 for (i = 0; i < NUM_MFC_DMV_BUFFERS; i++){
438- if ( mfc_context->direct_mv_buffers[i].bo != NULL);
439- dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo);
438+ if (mfc_context->direct_mv_buffers[i].bo != NULL)
439+ dri_bo_unreference(mfc_context->direct_mv_buffers[i].bo);
440440 mfc_context->direct_mv_buffers[i].bo = NULL;
441441 }
442442