Commit acae658c authored by Martin Storsjö's avatar Martin Storsjö Committed by Jean-Baptiste Kempf

omxil: Avoid warnings about implicitly casting a const char* to OMX_STRING

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e4af4627
......@@ -649,7 +649,7 @@ static OMX_ERRORTYPE InitialiseComponent(decoder_t *p_dec,
if(!strncmp(p_sys->psz_component, "OMX.SEC.", 8))
{
OMX_INDEXTYPE index;
omx_error = OMX_GetExtensionIndex(omx_handle, "OMX.SEC.index.ThumbnailMode", &index);
omx_error = OMX_GetExtensionIndex(omx_handle, (OMX_STRING) "OMX.SEC.index.ThumbnailMode", &index);
if(omx_error == OMX_ErrorNone)
{
OMX_BOOL enable = OMX_TRUE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment