[vlc-devel] [RFC] [PATCH 1/2] omxil: Make GetAudioParamSize nonstatic
Martin Storsjö
martin at martin.st
Wed Sep 21 14:49:32 CEST 2011
It is useful in the IOMX wrapper.
---
modules/codec/omxil/omxil_utils.h | 1 +
modules/codec/omxil/utils.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/codec/omxil/omxil_utils.h b/modules/codec/omxil/omxil_utils.h
index 99c4e6f..5667bf4 100644
--- a/modules/codec/omxil/omxil_utils.h
+++ b/modules/codec/omxil/omxil_utils.h
@@ -167,3 +167,4 @@ OMX_ERRORTYPE GetAudioParameters(OMX_HANDLETYPE handle,
OmxFormatParam *param, OMX_U32 i_port, OMX_AUDIO_CODINGTYPE encoding,
uint8_t *pi_channels, unsigned int *pi_samplerate,
unsigned int *pi_bitrate, unsigned int *pi_bps, unsigned int *pi_blocksize);
+unsigned int GetAudioParamSize(OMX_INDEXTYPE index);
diff --git a/modules/codec/omxil/utils.c b/modules/codec/omxil/utils.c
index 5122822..110ea4d 100644
--- a/modules/codec/omxil/utils.c
+++ b/modules/codec/omxil/utils.c
@@ -576,7 +576,7 @@ static OMX_INDEXTYPE GetAudioParamFormatIndex(OMX_AUDIO_CODINGTYPE encoding)
return audio_encoding_param[i].index;
}
-static unsigned int GetAudioParamSize(OMX_INDEXTYPE index)
+unsigned int GetAudioParamSize(OMX_INDEXTYPE index)
{
int i;
--
1.7.2.5
More information about the vlc-devel
mailing list