[MPlayer-cvslog] r29859 - trunk/stream/stream_dvdnav.c

reimar subversion at mplayerhq.hu
Mon Nov 9 11:29:15 CET 2009


Author: reimar
Date: Mon Nov  9 11:29:15 2009
New Revision: 29859

Log:
Remove unused mp_dvdnav_aid_from_audio_num function

Modified:
   trunk/stream/stream_dvdnav.c

Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c	Mon Nov  9 11:27:48 2009	(r29858)
+++ trunk/stream/stream_dvdnav.c	Mon Nov  9 11:29:15 2009	(r29859)
@@ -709,27 +709,6 @@ static int mp_dvdnav_get_aid_from_format
 }
 
 /**
- * \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


More information about the MPlayer-cvslog mailing list