forked from len0rd/rockbox
from ffmpeg: Add decoding support for variable block size FLAC files using the latest FLAC specification.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15521 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8f5b9fc5da
commit
c537760179
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ int flac_decode_frame(FLACContext *s,
|
||||||
init_get_bits(&s->gb, buf, buf_size*8);
|
init_get_bits(&s->gb, buf, buf_size*8);
|
||||||
|
|
||||||
tmp = get_bits(&s->gb, 16);
|
tmp = get_bits(&s->gb, 16);
|
||||||
if(tmp != 0xFFF8){
|
if ((tmp & 0xFFFE) != 0xFFF8){
|
||||||
return -41;
|
return -41;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue