1
0
Fork 0
forked from len0rd/rockbox

mpegplayer: Whoa. Left out a buffer wrap calculation when reading elementary streams.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15980 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2007-12-30 00:19:43 +00:00
parent 3b1f61a1ff
commit 282c9d6e1b

View file

@ -974,6 +974,8 @@ static int parse_elementary(struct stream *str, enum stream_parse_mode type)
}
p = str->curr_packet_end;
if (p >= disk_buf.end)
p -= disk_buf.size;
break;
/* STREAM_PM_STREAMING: */