Mercurial > mplayer.hg
changeset 30583:c8b12c3fc5a5
Mark demux_ogg_sub_id() as static; it is not used outside of the file.
author | diego |
---|---|
date | Wed, 17 Feb 2010 23:27:47 +0000 |
parents | 85aaf16401b5 |
children | 8239ceb64ff7 |
files | libmpdemux/demux_ogg.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_ogg.c Wed Feb 17 23:25:02 2010 +0000 +++ b/libmpdemux/demux_ogg.c Wed Feb 17 23:27:47 2010 +0000 @@ -376,7 +376,8 @@ \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]; }