Mercurial > mplayer.hg
changeset 29817:b44a41886ed9
Remove unused mp_dvdnav_aid_from_audio_num function
author | reimar |
---|---|
date | Mon, 09 Nov 2009 10:29:15 +0000 |
parents | 94bde7a3ac51 |
children | d133a1a83c17 |
files | stream/stream_dvdnav.c |
diffstat | 1 files changed, 0 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream_dvdnav.c Mon Nov 09 10:27:48 2009 +0000 +++ b/stream/stream_dvdnav.c Mon Nov 09 10:29:15 2009 +0000 @@ -709,27 +709,6 @@ } /** - * \brief mp_dvdnav_aid_from_audio_num() returns the audio id corresponding to the logical number - * \param stream: - stream pointer - * \param audio_num: - logical number - * \return -1 on error, current subtitle id if successful - */ -int mp_dvdnav_aid_from_audio_num(stream_t *stream, int audio_num) { - dvdnav_priv_t * priv = stream->priv; - int k; - uint8_t lg; - - for(k=0; k<32; k++) { - lg = dvdnav_get_audio_logical_stream(priv->dvdnav, k); - if (lg == 0xff) continue; - if (lg != audio_num) continue; - - return mp_dvdnav_get_aid_from_format (stream, k, lg); - } - return -1; -} - -/** * \brief mp_dvdnav_aid_from_lang() returns the audio id corresponding to the language code 'lang' * \param stream: - stream pointer * \param lang: 2-characters language code[s], eventually separated by spaces of commas