[vlc-commits] DVDread: comment out dead code

Jean-Baptiste Kempf git at videolan.org
Mon Oct 31 00:42:28 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Oct 28 13:48:43 2011 +0200| [e26c3d8cd23b39a372aefe40eb976b3600df6f7c] | committer: Jean-Baptiste Kempf

DVDread: comment out dead code

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e26c3d8cd23b39a372aefe40eb976b3600df6f7c
---

 modules/access/dvdread.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/access/dvdread.c b/modules/access/dvdread.c
index 98398bb..d565279 100644
--- a/modules/access/dvdread.c
+++ b/modules/access/dvdread.c
@@ -660,6 +660,7 @@ static void ESNew( demux_t *p_demux, int i_id, int i_lang )
     }
     else if( tk->fmt.i_cat == AUDIO_ES )
     {
+#if 0
         int i_audio = -1;
         /* find the audio number PLEASE find another way */
         if( (i_id&0xbdf8) == 0xbd88 )       /* dts */
@@ -678,6 +679,7 @@ static void ESNew( demux_t *p_demux, int i_id, int i_lang )
         {
             i_audio = i_id&0x1f;
         }
+#endif
 
         if( psz_language[0] ) tk->fmt.psz_language = strdup( psz_language );
     }



More information about the vlc-commits mailing list