forked from len0rd/rockbox
Fix a bug in the asf parser that led to dropping packets in WMA voice. WMA voice now outputs the correct number of samples/packets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27800 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6dd974a7a3
commit
a861b49cce
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ int asf_read_packet(uint8_t** audiobuf, int* audiobufsize, int* packetlength,
|
|||
buf = ci->request_buffer(&bufsize, length);
|
||||
datap = buf;
|
||||
|
||||
if (bufsize != length) {
|
||||
if (bufsize > length) {
|
||||
/* This should only happen with packets larger than 32KB (the
|
||||
guard buffer size). All the streams I've seen have
|
||||
relatively small packets less than about 8KB), but I don't
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue