|author||wm4 <wm4@nowhere>||2012-11-19 00:28:38 +0100|
|committer||wm4 <wm4@nowhere>||2012-11-20 18:00:15 +0100|
mplayer: fix potential issue when ao_play() fails
ao_play() can fail; in that case a negative error code is returned. This error code is returned by write_to_ao() in turn. The function fill_audio_out_buffers(), which calls write_to_ao(), doesn't check for any error codes, and will likely trigger the assertion following the function call. Change write_to_ao() to return 0 on failure to hopefully prevent crashes when AOs fail.
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions