fix crash when no audio-out is available (e.g. mplayer -ao bad test.avi).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12754 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2004-07-02 22:20:10 +00:00
parent 05905ee1e8
commit ddb0d33258
1 changed files with 1 additions and 1 deletions

View File

@ -1907,7 +1907,7 @@ if(sh_audio){
#endif #endif
} }
mixer.audio_out = audio_out; mixer.audio_out = audio_out;
mixer.afilter = sh_audio->afilter; mixer.afilter = sh_audio ? sh_audio->afilter : NULL;
mixer.volstep = 3; mixer.volstep = 3;
} }