Browse Source

sf-omx-il:fixed omx-il building warning base on SDK v2.3.2

Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com>
sw.multimedia 2 years ago
parent
commit
70bc26e4da

+ 1 - 1
soft_3rdpart/omx-il/component/video/common/SF_OMX_video_common.h

@@ -95,7 +95,7 @@ typedef struct _SF_COMPONENT_FUNCTIONS
     BOOL (*AttachDMABuffer)(ComponentImpl* com, Uint64 virtAddress, Uint32 size);
     void (*SetRenderTotalBufferNumber)(ComponentImpl* com, Uint32 number);
     void (*SetFeederTotalBufferNumber)(ComponentImpl* com, Uint32 number);
-    void (*WaitForExecoderReady)(ComponentImpl *com)
+    void (*WaitForExecoderReady)(ComponentImpl *com);
 } SF_COMPONENT_FUNCTIONS;
 
 typedef struct _SF_WAVE5_IMPLEMEMT

+ 1 - 1
soft_3rdpart/omx-il/component/video/enc/SF_OMX_Venc_encoder.c

@@ -280,7 +280,7 @@ static OMX_ERRORTYPE SF_OMX_UseBuffer(
         temp_bufferHeader->pInputPortPrivate = (OMX_PTR)nInputBufIndex;
         nInputBufIndex ++;
     }
-    LOG(SF_LOG_INFO, "pBuffer address = %p, nInputBufIndex = %d\r\n", temp_bufferHeader->pBuffer, (int)temp_bufferHeader->pInputPortPrivate);
+    LOG(SF_LOG_INFO, "pBuffer address = %p, nInputBufIndex = %d\r\n", temp_bufferHeader->pBuffer, (OMX_U64)temp_bufferHeader->pInputPortPrivate);
 EXIT:
     FunctionOut();