# HG changeset patch # User aurel # Date 1225146873 0 # Node ID 92f83263b154946ad9d7e36c1869ba7379812615 # Parent bacaca1ac820b0a99b6afe89f857038b2930b2ea Avoid calling init_vo_spudec() too early. (before mpctx->d_sub->sh initialization) diff -r bacaca1ac820 -r 92f83263b154 mplayer.c --- a/mplayer.c Mon Oct 27 21:00:12 2008 +0000 +++ b/mplayer.c Mon Oct 27 22:34:33 2008 +0000 @@ -3433,7 +3433,7 @@ //================== Read SUBTITLES (DVD & TEXT) ========================== if(vo_spudec==NULL && mpctx->sh_video && - (mpctx->stream->type==STREAMTYPE_DVD || mpctx->stream->type == STREAMTYPE_DVDNAV || mpctx->d_sub->id >= 0)){ + (mpctx->stream->type==STREAMTYPE_DVD || mpctx->stream->type == STREAMTYPE_DVDNAV)){ init_vo_spudec(); }