summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-05-07 20:20:13 +0300
committerUoti Urpala <uau@mplayer2.org>2011-05-07 22:17:51 +0300
commitb21e7dc7a94448066bdcc66287d6c5a68a3e1978 (patch)
tree40b81be806f10b0b9be597353e5fadbb436ed533 /etc
parentdaafc5a368266dc2206b7da0c107b98e0ca042d6 (diff)
downloadmpv-b21e7dc7a94448066bdcc66287d6c5a68a3e1978.tar.bz2
mpv-b21e7dc7a94448066bdcc66287d6c5a68a3e1978.tar.xz
audio: disallow partial samples, fix ad_pcm to comply
Add some asserts to check that decoders/filters produce complete samples (byte amounts must be multiples of channels*datatype_size) and that audio output drivers also accept input in complete units. Fix ad_pcm which was known to violate this if its last input packet didn't stop at a sample boundary.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions