# HG changeset patch # User pontscho # Date 1013027179 0 # Node ID 46ccfbb41f9c74502fd17b58e313748f76ca7022 # Parent 716b00618bfcfc33474b28dd564a2dc31a3fa779 fix spudec bug diff -r 716b00618bfc -r 46ccfbb41f9c mplayer.c --- a/mplayer.c Wed Feb 06 20:16:35 2002 +0000 +++ b/mplayer.c Wed Feb 06 20:26:19 2002 +0000 @@ -1078,7 +1078,7 @@ #ifdef USE_DVDREAD current_module="spudec"; -vo_spudec=spudec_new_scaled(stream->priv?((dvd_priv_t *)(stream->priv))->cur_pgc->palette:NULL, +vo_spudec=spudec_new_scaled(stream->type==STREAMTYPE_DVD?((dvd_priv_t *)(stream->priv))->cur_pgc->palette:NULL, sh_video->disp_w, sh_video->disp_h); if (vo_spudec!=NULL) inited_flags|=INITED_SPUDEC;