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:
Michael Giacomelli 2009-02-08 22:05:15 +00:00
parent f9b7572c1b
commit 755ddc9fc2

View file

@ -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) {