Commit fix suggested by Siaoru Lee in FS#9776. Fixes a bug in our ASF parser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19946 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f9b7572c1b
commit
755ddc9fc2
1 changed files with 3 additions and 0 deletions
|
@ -288,6 +288,9 @@ static int asf_read_packet(uint8_t** audiobuf, int* audiobufsize, int* packetlen
|
|||
payload_datalen = length - bytesread - padding_length;
|
||||
}
|
||||
|
||||
if (replicated_length==1)
|
||||
datap++;
|
||||
|
||||
if (stream_id == wfx->audiostream)
|
||||
{
|
||||
if (*audiobuf == NULL) {
|
||||
|
|
Loading…
Reference in a new issue