/*****************************************************************************
* Chroma fourcc -> ffmpeg_id mapping
*****************************************************************************/
-static struct
+static const struct
{
vlc_fourcc_t i_chroma;
int i_chroma_id;
{ 0, 0 }
};
-static int GetFfmpegChroma( vlc_fourcc_t i_chroma )
+static inline int GetFfmpegChroma( vlc_fourcc_t i_chroma )
{
int i;
return -1;
}
-static vlc_fourcc_t GetVlcChroma( int i_ffmpeg_chroma )
+static inline vlc_fourcc_t GetVlcChroma( int i_ffmpeg_chroma )
{
int i;