Mark demux_ogg_sub_id() as static; it is not used outside of the file.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30625 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego committed 2010-02-17 23:27:47 +00:00
1 parent a37c279d27
commit 2dbe8cf340
1 file changed
+2 -1
+2 -1
View File
@@ -376,7 +376,8 @@ static int demux_ogg_check_lang(const char *clang, const char *langlist)
\returns The Ogg stream number ( = page serial number) of the newly selected
track.
*/
int demux_ogg_sub_id(demuxer_t *demuxer, int index) {
static int demux_ogg_sub_id(demuxer_t *demuxer, int index)
{
ogg_demuxer_t *ogg_d = demuxer->priv;
return (index < 0) ? index : (index >= ogg_d->n_text) ? -1 : ogg_d->text_ids[index];
}