diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-09 10:29:15 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-09 10:29:15 +0000 |
commit | a144a22453e94ef5d5d01eb8491836fcd4c8ee6e (patch) | |
tree | f335d7507ad972b4b082b4252442b1a76f6c90bf /stream | |
parent | 2dfd5e5f535292c491bc967a8a8e4d109d9c5965 (diff) |
Remove unused mp_dvdnav_aid_from_audio_num function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29859 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_dvdnav.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c index 4c6a09ea4a..af57c185cd 100644 --- a/stream/stream_dvdnav.c +++ b/stream/stream_dvdnav.c @@ -709,27 +709,6 @@ static int mp_dvdnav_get_aid_from_format (stream_t *stream, int index, uint8_t l } /** - * \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 |