forked from len0rd/rockbox
Fix FS#11845 by rejecting unknown header signatures in the audio stream info block. RALF uses a different header signature than ('.', 'r', 'a', 0xfd). Apparently ('L', 'S', 'D', ':').
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28937 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
651c9cb272
commit
506a15bd73
1 changed files with 6 additions and 0 deletions
|
@ -374,7 +374,13 @@ static int rm_parse_header(int fd, RMContext *rmctx, struct mp3entry *id3)
|
|||
return -1;
|
||||
else
|
||||
skipped += temp;
|
||||
}
|
||||
else
|
||||
{
|
||||
DEBUGF("Unknown header signature :\"%s\"\n", fourcc2str(v));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue