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:
Marcoen Hirschberg 2007-11-07 23:35:43 +00:00
parent 8f5b9fc5da
commit c537760179

View file

@ -515,7 +515,7 @@ int flac_decode_frame(FLACContext *s,
init_get_bits(&s->gb, buf, buf_size*8);
tmp = get_bits(&s->gb, 16);
if(tmp != 0xFFF8){
if ((tmp & 0xFFFE) != 0xFFF8){
return -41;
}