[Mplayer-cvslog] CVS: main mplayer.c,1.631,1.632

Arpi of Ize arpi at mplayerhq.hu
Sat Dec 28 12:39:46 CET 2002


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

Modified Files:
	mplayer.c 
Log Message:
sh_audio==NULL hotfix by Robert Varga <nite at hq.alert.sk>


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.631
retrieving revision 1.632
diff -u -r1.631 -r1.632
--- mplayer.c	23 Dec 2002 01:54:58 -0000	1.631
+++ mplayer.c	28 Dec 2002 11:39:31 -0000	1.632
@@ -2658,7 +2658,7 @@
                         d_audio->id,aid_temp);
                 // FIXME: need a bettery way to change audio stream id
                 d_audio->id=dvdsub_id=aid_temp;
-                resync_audio_stream(sh_audio);
+                if(sh_audio) resync_audio_stream(sh_audio);
         }
 
         break;




More information about the MPlayer-cvslog mailing list