diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-17 23:27:47 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-17 23:27:47 +0000 |
commit | 2dbe8cf340253fb914e793be7282b82d032371a5 (patch) | |
tree | e2678f3fb6263e93d7c72c052cdcac1b6fe5f2ef | |
parent | a37c279d27525ac28936d345f2c216da38e42e90 (diff) |
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
-rw-r--r-- | libmpdemux/demux_ogg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/demux_ogg.c b/libmpdemux/demux_ogg.c index 127bde5b48..cc8b65cd43 100644 --- a/libmpdemux/demux_ogg.c +++ b/libmpdemux/demux_ogg.c @@ -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]; } |