decoder/pcm: round buffer size down to nearest frame size

https://bugs.musicpd.org/view.php?id=4599
This commit is contained in:
Max Kellermann
2016-11-17 21:58:27 +01:00
parent 8bde47280a
commit 7019f6bea4
2 changed files with 34 additions and 12 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
ver 0.19.20 (not yet released)
* decoder
- ffmpeg: ignore empty packets
- pcm: fix corruption bug with partial frames (after short read)
- sidplay: fix playback speed with libsidplayfp
* output
- winmm: fix 8 bit playback