]> git.sesse.net Git - ffmpeg/commit
avcodec/vlc, bitstream: Allow to use BE codes to initialize LE VLC
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 12 Oct 2020 03:24:42 +0000 (05:24 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 12 Oct 2020 20:20:37 +0000 (22:20 +0200)
commit9eb7d8b45d0497d75e5655b79d9eea63bedc833c
tree69f95eb73cc15a457a840c3f915c85edd3ba25ad
parente78bbbc2b1e413d11e9edf818e1dc07f16aecf91
avcodec/vlc, bitstream: Allow to use BE codes to initialize LE VLC

This is easily possible because ff_init_vlc_sparse() already transforms
both LE as well as BE codes to a normal form internally before
processing them further. This will be used in subsequent commits.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/bitstream.c
libavcodec/vlc.h