[vpu_api_test]: fix shadow warning on Android

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@87 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-08-12 08:16:56 +00:00
parent e1ce50e051
commit 7ee044f9f3

View File

@@ -639,7 +639,7 @@ static RK_S32 vpu_decode_demo(VpuApiDemoCmdContext_t *cmd)
** sure you have done VPUMemLink before.
*/
if ((pOut->size) && (pOut->data)) {
VPU_FRAME *frame = (VPU_FRAME *)(pOut->data);
frame = (VPU_FRAME *)(pOut->data);
VPUMemLink(&frame->vpumem);
RK_U32 wAlign16 = ((frame->DisplayWidth+ 15) & (~15));
RK_U32 hAlign16 = ((frame->DisplayHeight + 15) & (~15));