Update of /cvsroot/mplayer/main In directory mail:/var/tmp.root/cvs-serv18591 Modified Files: mplayer.c Log Message: "when I run "mplayer -slave <audiofile> " then, while playing, I send the following command "loadfile <anyfile>" I get a crash ... " Report and patch by ROSEN Jeremy Index: mplayer.c =================================================================== RCS file: /cvsroot/mplayer/main/mplayer.c,v retrieving revision 1.716 retrieving revision 1.717 diff -u -r1.716 -r1.717 --- mplayer.c 13 Aug 2003 16:29:00 -0000 1.716 +++ mplayer.c 13 Aug 2003 17:03:36 -0000 1.717 @@ -3354,7 +3354,7 @@ //================= Update OSD ==================== #ifdef USE_OSD - if(osd_level>=1){ + if(osd_level>=1 && sh_video){ int pts=sh_video->pts; char osd_text_tmp[64]; if(pts==osd_last_pts-1) ++pts; else osd_last_pts=pts;
participants (1)
-
Alban Bedel CVS