]> git.tuebingen.mpg.de Git - paraslash.git/commit
afh: Limit chunk numbers to 32 bit.
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 27 Aug 2021 13:12:34 +0000 (15:12 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 28 Mar 2022 20:28:20 +0000 (22:28 +0200)
commita296ecdb1ab1657d3ec756fbb4cdd9618b621a2e
tree5bb50fcff73829656ae29e4ccd368de79aceaa8d
parentdd83d1e96f5bbb6b22471e47d1a8f1dd62e0df75
afh: Limit chunk numbers to 32 bit.

The number of chunks and the chunk offsets are stored in the audio
file table as 32 bit unsigned integers. Thus, chunk numbers and
sizes cannot exceed 2^32 - 1. Make this fact obvious by changing
the corresponding parameters of aac_afh_get_chunk() from size_t or
unsigned long to uint32_t.
aac_afh.c
afh.c
afh.h
afh_common.c
afh_recv.c
vss.c