diff options
author | Xu Guangxin <guangxin.xu@intel.com> | 2018-01-25 00:10:03 -0500 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2018-01-26 09:17:47 +0800 |
commit | 76c317914752e198523940198740502a9ef89913 (patch) | |
tree | d756aa1e4b6b94a84721699ec4c00887438b30ec | |
parent | cb8b5b66f4c88c323848878755f69ebfd6e098c1 (diff) | |
download | libva-76c317914752e198523940198740502a9ef89913.tar.gz |
android: fix typo introduced by 4cc9a74b
-rw-r--r-- | va/android/va_android.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/va/android/va_android.cpp b/va/android/va_android.cpp index daae531..c49d3f3 100644 --- a/va/android/va_android.cpp +++ b/va/android/va_android.cpp @@ -147,9 +147,9 @@ VADisplay vaGetDisplay ( } pDriverContext->native_dpy = (void *)native_dpy; - pDriverContext->display_type = VA_DISPLAY_ANDROID + pDriverContext->display_type = VA_DISPLAY_ANDROID; - drm_state = calloc(1, sizeof(*drm_state)); + drm_state = (struct drm_state*)calloc(1, sizeof(*drm_state)); if (!drm_state) { free(pDisplayContext); free(pDriverContext); |