Mercurial > mplayer.hg
diff mplayer.c @ 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 | 63349f025c17 |
children | 3172431edc3a |
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;