encoder/null: use fifo_buffer instead of pcm_buffer

This fixes a buffer corruption bug; pcm_buffer is not designed to be a
persistent buffers, and will discard anything between two consecutive
calls.
This commit is contained in:
Max Kellermann
2011-11-28 08:27:59 +01:00
parent 399a3abefc
commit 74beefcaf6
2 changed files with 16 additions and 20 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ ver 0.16.6 (2010/??/??)
* decoder:
- fix assertion failure when resuming streams
* encoder:
- flac, wave: fix buffer corruption bug
- flac, null, wave: fix buffer corruption bug
* event_pipe: fix WIN32 regression
* define WINVER in ./configure
* WIN32: autodetect filesystem encoding