changeset 21061:442dc1e34b38

Remove superfluous demuxer->type==DEMUXER_TYPE_MATROSKA check, d_dvdsub->id >= 0 is enough in for this case, too.
author reimar
date Sun, 19 Nov 2006 19:39:16 +0000
parents b37a53da3b8a
children be83543ce2d0
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sun Nov 19 19:17:51 2006 +0000
+++ b/mplayer.c	Sun Nov 19 19:39:16 2006 +0000
@@ -4236,8 +4236,7 @@
 
 //================== Read SUBTITLES (DVD & TEXT) ==========================
 if(vo_spudec==NULL && sh_video &&
-     (stream->type==STREAMTYPE_DVD || demuxer->type==DEMUXER_TYPE_MATROSKA ||
-      d_dvdsub->id >= 0)){
+     (stream->type==STREAMTYPE_DVD || d_dvdsub->id >= 0)){
 
 if (spudec_ifo) {
   unsigned int palette[16], width, height;