[Mplayer-cvslog] CVS: main mplayer.c,1.759,1.760
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Sat Jul 3 00:20:13 CEST 2004
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv5405
Modified Files:
mplayer.c
Log Message:
fix crash when no audio-out is available (e.g. mplayer -ao bad test.avi).
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.759
retrieving revision 1.760
diff -u -r1.759 -r1.760
--- mplayer.c 26 Jun 2004 13:26:10 -0000 1.759
+++ mplayer.c 2 Jul 2004 22:20:10 -0000 1.760
@@ -1907,7 +1907,7 @@
#endif
}
mixer.audio_out = audio_out;
- mixer.afilter = sh_audio->afilter;
+ mixer.afilter = sh_audio ? sh_audio->afilter : NULL;
mixer.volstep = 3;
}
More information about the MPlayer-cvslog
mailing list