[Mplayer-cvslog] CVS: main mplayer.c,1.385,1.386

Zoltan Ponekker pontscho at mplayer.dev.hu
Wed Feb 6 21:26:22 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv23707

Modified Files:
	mplayer.c 
Log Message:
fix spudec bug

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.385
retrieving revision 1.386
diff -u -r1.385 -r1.386
--- mplayer.c	3 Feb 2002 15:16:46 -0000	1.385
+++ mplayer.c	6 Feb 2002 20:26:19 -0000	1.386
@@ -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;




More information about the MPlayer-cvslog mailing list