summaryrefslogtreecommitdiffstats
path: root/libmpdemux/ms_hdr.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-12-29 15:51:59 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-12-29 15:51:59 +0200
commit57ce95b96a9d5ff75b5afa608bdda8366a999cf5 (patch)
tree416883d01181a719c50d460b49a2a7aa575bcfde /libmpdemux/ms_hdr.h
parentd7d8babe61914f14df1fc1bab173574e1fabad1e (diff)
downloadmpv-57ce95b96a9d5ff75b5afa608bdda8366a999cf5.tar.bz2
mpv-57ce95b96a9d5ff75b5afa608bdda8366a999cf5.tar.xz
audio: Remove fixed decode_audio() return size limit (MAX_OUTBURST)
A couple of months ago MPlayer's ALSA driver started rounding the amount of input data it was willing to accept in one call down to an integer multiple of the value it set in ao_data.outburst. In some configurations it was possible for this value to exceed the 64 KiB limit on the amount MPlayer was willing to write in a single call to the AO. As a result ao_alsa accepted 0 bytes in each play() call and audio playback failed. Fix this by removing the fixed 64 KiB limit on the amount of audio sent to AO at once; the limit was mostly a remnant of older code anyway.
Diffstat (limited to 'libmpdemux/ms_hdr.h')
0 files changed, 0 insertions, 0 deletions