[vlc-devel] [PATCH 1/3] omxil: Avoid warnings about implicitly casting a const char* to OMX_STRING
Martin Storsjö
martin at martin.st
Thu Sep 29 10:33:42 CEST 2011
---
modules/codec/omxil/omxil.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index c0ec415..816140d 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -647,7 +647,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;
--
1.7.2.5
More information about the vlc-devel
mailing list