summaryrefslogtreecommitdiff
path: root/apps/codecs/libffmpegFLAC/decoder.c
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2007-11-07 23:35:43 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2007-11-07 23:35:43 +0000
commitc537760179bc321e4c8f94b7dca6e8204beece82 (patch)
treef8b6f912936ff1374ac0e7005c9423e4e9a23237 /apps/codecs/libffmpegFLAC/decoder.c
parent8f5b9fc5da1267ad428b1706314a78b76be3e7f3 (diff)
downloadrockbox-c537760179bc321e4c8f94b7dca6e8204beece82.tar.gz
rockbox-c537760179bc321e4c8f94b7dca6e8204beece82.zip
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
Diffstat (limited to 'apps/codecs/libffmpegFLAC/decoder.c')
-rw-r--r--apps/codecs/libffmpegFLAC/decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libffmpegFLAC/decoder.c b/apps/codecs/libffmpegFLAC/decoder.c
index 1d46eda353..7bbd6f532d 100644
--- a/apps/codecs/libffmpegFLAC/decoder.c
+++ b/apps/codecs/libffmpegFLAC/decoder.c
@@ -515,7 +515,7 @@ int flac_decode_frame(FLACContext *s,
515 init_get_bits(&s->gb, buf, buf_size*8); 515 init_get_bits(&s->gb, buf, buf_size*8);
516 516
517 tmp = get_bits(&s->gb, 16); 517 tmp = get_bits(&s->gb, 16);
518 if(tmp != 0xFFF8){ 518 if ((tmp & 0xFFFE) != 0xFFF8){
519 return -41; 519 return -41;
520 } 520 }
521 521