From 607a3b43bfe6b13c7c5911b6a0b8562e81fc30bf Mon Sep 17 00:00:00 2001 From: ChenSiyong Date: Fri, 3 Jun 2016 06:36:10 +0000 Subject: [PATCH] [vpu_legacy] fix process width mask for video bit depth may cause window compile error git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@870 6e48237b-75ef-9749-8fc9-41990f28c85a --- mpp/legacy/vpu_api_legacy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpp/legacy/vpu_api_legacy.cpp b/mpp/legacy/vpu_api_legacy.cpp index 51ff1e52..387c2ab7 100644 --- a/mpp/legacy/vpu_api_legacy.cpp +++ b/mpp/legacy/vpu_api_legacy.cpp @@ -344,8 +344,8 @@ RK_S32 VpuApi::control(VpuCodecContext *ctx, VPU_API_CMD cmd, void *param) } case VPU_API_SET_DEFAULT_WIDTH_HEIGH: { VPU_GENERIC *p = (VPU_GENERIC *)param; + RK_U32 ImgWidth = p->ImgWidth; mpicmd = MPP_CODEC_SET_FRAME_INFO; - RK_U32 ImgWidth = p->ImgWidth; /**hightest of p->ImgWidth bit show current dec bitdepth * 0 - 8bit * 1 - 10bit