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:
parent
3b1f61a1ff
commit
282c9d6e1b
1 changed files with 2 additions and 0 deletions
|
@ -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: */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue