[vlc-commits] omxil: Make GetAudioParamSize nonstatic

Martin Storsjö git at videolan.org
Wed Sep 21 22:10:47 CEST 2011


vlc | branch: master | Martin Storsjö <martin at martin.st> | Wed Sep 21 15:49:32 2011 +0300| [507ebbfec559d5aaede258e53e18396dff7e574c] | committer: Jean-Baptiste Kempf

omxil: Make GetAudioParamSize nonstatic

It is useful in the IOMX wrapper.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=507ebbfec559d5aaede258e53e18396dff7e574c
---

 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;
 



More information about the vlc-commits mailing list