Re: [FFmpeg-devel] [PATCH 7/7] avcodec/webp: Use LE VLC table for LE bitstream reader

2020-10-12 Thread Paul B Mahol
On Mon, Oct 12, 2020 at 10:12:17AM +0200, Andreas Rheinhardt wrote: > The WebP format uses Huffman tables and the decoder therefore uses > VLC tables. Given that WebP is a LE format, a LE bitreader is used; > yet the VLC table is not created for a LE reader (the process used to > create the tables

[FFmpeg-devel] [PATCH 7/7] avcodec/webp: Use LE VLC table for LE bitstream reader

2020-10-12 Thread Andreas Rheinhardt
The WebP format uses Huffman tables and the decoder therefore uses VLC tables. Given that WebP is a LE format, a LE bitreader is used; yet the VLC table is not created for a LE reader (the process used to create the tables puts the last bit to be read in the lowest bit) and therefore custom code fo