Commit 699d1778 authored by Timothy B. Terriberry's avatar Timothy B. Terriberry

Port of r16181 from libvorbis.

First half of fix for
Residue code was not checking that its partition books were books with
 specified/populated value mappings.

git-svn-id: 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent d59c364a
......@@ -110,8 +110,10 @@ vorbis_info_residue *res0_unpack(vorbis_info *vi,oggpack_buffer *opb){
if(info->groupbook>=ci->books)goto errout;
if(info->booklist[j]>=ci->books)goto errout;
if(ci->book_param[info->booklist[j]]->maptype==0)goto errout;
/* verify the phrasebook is not specifying an impossible or
inconsistent partitioning scheme. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment