From 975e3092649a995d8dccd92f513894ac7641b01e Mon Sep 17 00:00:00 2001 From: aozima Date: Tue, 9 Aug 2016 20:17:59 +0800 Subject: [PATCH] fixed alac_set_info() issues. --- lib/rbcodec/codecs/libalac/alac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);