]> git.sesse.net Git - vlc/commitdiff
omxil: Avoid warnings about implicitly casting a const char* to OMX_STRING
authorMartin Storsjö <martin@martin.st>
Thu, 29 Sep 2011 08:33:42 +0000 (11:33 +0300)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 29 Sep 2011 09:54:52 +0000 (11:54 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
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;