video_dec: Fix h264 function prototypes
authorAndreas Schneider <asn@cryptomilk.org>
Tue, 5 May 2015 22:40:16 +0000 (00:40 +0200)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Tue, 30 Jun 2015 05:32:53 +0000 (22:32 -0700)
Change-Id: Ie3e2915bbacb5d5458c52bc4989ed438b79ac190
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
component/video/dec/h264/Exynos_OMX_H264dec.c

index 6cc84927907062b49557b2c199abe497a290d50f..626af0594e98e996bdf0337c747e2fbb747ed4a1 100644 (file)
@@ -110,7 +110,7 @@ EXYNOS_OMX_VIDEO_PROFILELEVEL supportedAVCProfileLevels[] ={
 
 OMX_ERRORTYPE H264CodecDstSetup(OMX_COMPONENTTYPE *pOMXComponent);
 
-static OMX_ERRORTYPE GetCodecInputPrivateData(OMX_PTR codecBuffer, void *pVirtAddr, OMX_U32 *dataSize)
+static OMX_ERRORTYPE GetCodecInputPrivateData(OMX_PTR codecBuffer, OMX_PTR *pVirtAddr, OMX_U32 *dataSize)
 {
     OMX_ERRORTYPE       ret = OMX_ErrorNone;
 
@@ -118,7 +118,7 @@ EXIT:
     return ret;
 }
 
-static OMX_ERRORTYPE GetCodecOutputPrivateData(OMX_PTR codecBuffer, void *addr[], int size[])
+static OMX_ERRORTYPE GetCodecOutputPrivateData(OMX_PTR codecBuffer, OMX_PTR addr[], OMX_U32 size[])
 {
     OMX_ERRORTYPE       ret = OMX_ErrorNone;
     ExynosVideoBuffer  *pCodecBuffer;