]> git.sesse.net Git - vlc/blobdiff - modules/codec/omxil/omxil.c
omxil: Avoid warnings about implicitly casting a const char* to OMX_STRING
[vlc] / modules / codec / omxil / omxil.c
index f6364938f35f6cc8090e1008ef5ea45697567183..a032850cf0c61cd9534cb528c6fc7a4f7082210f 100644 (file)
@@ -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;