Commit 507ebbfe authored by Martin Storsjö's avatar Martin Storsjö Committed by Jean-Baptiste Kempf

omxil: Make GetAudioParamSize nonstatic

It is useful in the IOMX wrapper.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e1da4a02
...@@ -167,3 +167,4 @@ OMX_ERRORTYPE GetAudioParameters(OMX_HANDLETYPE handle, ...@@ -167,3 +167,4 @@ OMX_ERRORTYPE GetAudioParameters(OMX_HANDLETYPE handle,
OmxFormatParam *param, OMX_U32 i_port, OMX_AUDIO_CODINGTYPE encoding, OmxFormatParam *param, OMX_U32 i_port, OMX_AUDIO_CODINGTYPE encoding,
uint8_t *pi_channels, unsigned int *pi_samplerate, uint8_t *pi_channels, unsigned int *pi_samplerate,
unsigned int *pi_bitrate, unsigned int *pi_bps, unsigned int *pi_blocksize); unsigned int *pi_bitrate, unsigned int *pi_bps, unsigned int *pi_blocksize);
unsigned int GetAudioParamSize(OMX_INDEXTYPE index);
...@@ -576,7 +576,7 @@ static OMX_INDEXTYPE GetAudioParamFormatIndex(OMX_AUDIO_CODINGTYPE encoding) ...@@ -576,7 +576,7 @@ static OMX_INDEXTYPE GetAudioParamFormatIndex(OMX_AUDIO_CODINGTYPE encoding)
return audio_encoding_param[i].index; return audio_encoding_param[i].index;
} }
static unsigned int GetAudioParamSize(OMX_INDEXTYPE index) unsigned int GetAudioParamSize(OMX_INDEXTYPE index)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment