Re: [FFmpeg-devel] [PATCH 26/30] avcodec/mpc7, mpc7data: Avoid gaps in array

2020-09-15 Thread Andreas Rheinhardt
Paul B Mahol: > On Tue, Sep 15, 2020 at 09:39:56AM +0200, Andreas Rheinhardt wrote: >> The Musepack decoder uses static VLC tables to parse the bitstream. >> There are 14 different quant tables VLCs and each of them has a varying >> number of codes. The maximum number is 63, the average number is 2

Re: [FFmpeg-devel] [PATCH 26/30] avcodec/mpc7, mpc7data: Avoid gaps in array

2020-09-15 Thread Paul B Mahol
On Tue, Sep 15, 2020 at 09:39:56AM +0200, Andreas Rheinhardt wrote: > The Musepack decoder uses static VLC tables to parse the bitstream. > There are 14 different quant tables VLCs and each of them has a varying > number of codes. The maximum number is 63, the average number is 25.3. > Up until now

[FFmpeg-devel] [PATCH 26/30] avcodec/mpc7, mpc7data: Avoid gaps in array

2020-09-15 Thread Andreas Rheinhardt
The Musepack decoder uses static VLC tables to parse the bitstream. There are 14 different quant tables VLCs and each of them has a varying number of codes. The maximum number is 63, the average number is 25.3. Up until now, the array containing the raw data was of type uint16_t [7][2][64 * 2] (the