encoder/flac: fix crash with 32 bit playback

Copy to encoder->audio_format *after* adjusting the sample format to
S24_P32.

Fixes http://bugs.musicpd.org/view.php?id=4433
This commit is contained in:
Max Kellermann
2015-10-16 18:05:34 +02:00
parent 205fba74cf
commit 4e3d182189
2 changed files with 4 additions and 2 deletions

2
NEWS
View File

@@ -1,6 +1,8 @@
ver 0.19.11 (not yet released)
* tags
- ape: fix buffer overflow
* encoder
- flac: fix crash with 32 bit playback
ver 0.19.10 (2015/06/21)
* input