summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoraozima <wuyangyong@gmail.com>2016-08-09 20:17:59 +0800
committerFranklin Wei <git@fwei.tk>2019-07-25 18:16:48 -0400
commit975e3092649a995d8dccd92f513894ac7641b01e (patch)
tree79b83cd9178e53f49bf5900c6be55225567563fe /lib
parentcdfb7d44f2c698a6c3dcfcbd4bdccf066ccfaf8a (diff)
downloadrockbox-975e3092649a995d8dccd92f513894ac7641b01e.tar.gz
rockbox-975e3092649a995d8dccd92f513894ac7641b01e.tar.bz2
rockbox-975e3092649a995d8dccd92f513894ac7641b01e.zip
fixed alac_set_info() issues.
Diffstat (limited to 'lib')
-rw-r--r--lib/rbcodec/codecs/libalac/alac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libalac/alac.c b/lib/rbcodec/codecs/libalac/alac.c
index fd24656504..7ded062a21 100644
--- a/lib/rbcodec/codecs/libalac/alac.c
+++ b/lib/rbcodec/codecs/libalac/alac.c
@@ -75,7 +75,7 @@ void alac_set_info(alac_file *alac, char *inputbuffer)
alac->setinfo_rice_initialhistory = *ptr++;
alac->setinfo_rice_kmodifier = *ptr++;
alac->setinfo_7f = *ptr++;
- ptr += 1;
+
alac->setinfo_80 = get_uint16be(ptr);
ptr += 2;
alac->setinfo_82 = get_uint32be(ptr);