diff options
Diffstat (limited to 'domx/omx_proxy_common')
-rw-r--r-- | domx/omx_proxy_common/src/omx_proxy_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/domx/omx_proxy_common/src/omx_proxy_common.c b/domx/omx_proxy_common/src/omx_proxy_common.c index 446a864..c445b39 100644 --- a/domx/omx_proxy_common/src/omx_proxy_common.c +++ b/domx/omx_proxy_common/src/omx_proxy_common.c @@ -966,6 +966,7 @@ static OMX_ERRORTYPE PROXY_UseBuffer(OMX_IN OMX_HANDLETYPE hComponent, PROXY_require((hComp->pComponentPrivate != NULL), OMX_ErrorBadParameter, NULL); + PROXY_require(pBuffer != NULL, OMX_ErrorBadParameter, "Pointer to buffer is NULL"); PROXY_require(ppBufferHdr != NULL, OMX_ErrorBadParameter, "Pointer to buffer header is NULL"); |