[Mplayer-cvslog] CVS: main mencoder.c,1.81,1.82

Zoltan Ponekker pontscho at mplayer.dev.hu
Wed Feb 6 23:55:57 CET 2002


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

Modified Files:
	mencoder.c 
Log Message:
fix spudec, faszom (C#)

Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- mencoder.c	3 Feb 2002 09:28:57 -0000	1.81
+++ mencoder.c	6 Feb 2002 22:55:47 -0000	1.82
@@ -635,7 +635,7 @@
 video_out.draw_frame=draw_frame;
 
 #ifdef USE_DVDREAD
-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);
 #endif
 




More information about the MPlayer-cvslog mailing list