mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[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:
@@ -639,7 +639,7 @@ static RK_S32 vpu_decode_demo(VpuApiDemoCmdContext_t *cmd)
|
|||||||
** sure you have done VPUMemLink before.
|
** sure you have done VPUMemLink before.
|
||||||
*/
|
*/
|
||||||
if ((pOut->size) && (pOut->data)) {
|
if ((pOut->size) && (pOut->data)) {
|
||||||
VPU_FRAME *frame = (VPU_FRAME *)(pOut->data);
|
frame = (VPU_FRAME *)(pOut->data);
|
||||||
VPUMemLink(&frame->vpumem);
|
VPUMemLink(&frame->vpumem);
|
||||||
RK_U32 wAlign16 = ((frame->DisplayWidth+ 15) & (~15));
|
RK_U32 wAlign16 = ((frame->DisplayWidth+ 15) & (~15));
|
||||||
RK_U32 hAlign16 = ((frame->DisplayHeight + 15) & (~15));
|
RK_U32 hAlign16 = ((frame->DisplayHeight + 15) & (~15));
|
||||||
|
Reference in New Issue
Block a user