btr: Fix a nasty thinko in merge_input_pool().
authorAndre Noll <maan@systemlinux.org>
Tue, 2 Mar 2010 06:10:00 +0000 (07:10 +0100)
committerAndre Noll <maan@systemlinux.org>
Tue, 2 Mar 2010 06:10:00 +0000 (07:10 +0100)
We must take into account the number of bytes already consumed from the wrap buffer.
Otherwise, we might end up not merging as much as we must,  which may cause errors
in the child nodes.

This bug was quite hard to hit, but it did bite the aac decoder reliably when used in audiod
with UDP + FEC.


No differences found