summaryrefslogtreecommitdiff
path: root/libavcodec/bitstream_template.h
Commit message (Collapse)AuthorAge
* avcodec: add multi vlc readerPaul B Mahol2023-09-07
| | | | | | Heavily based and inspired by Christophe's cache branches. Co-Authored-by: Christophe Gisquet
* lavc/bitstream: avoid UB in bits_{read,peek}_signed(0)Anton Khirnov2023-01-18
| | | | | | | | | | bits_*_signed(0) will currently invoke an undefined shift by 8 * sizeof(int). Add bits_*_signed_nz() that only works for n>0, analogous to bits_read_nz(). Add an explicit check for n=0 in bits_*_signed(). Found-by: James Almer
* lavc/bitstream: templatize for BE/LEAnton Khirnov2023-01-06
Allows using both BE and LE bitstream readers in the same file.