]> git.sesse.net Git - ffmpeg/commit
avcodec/g2meet: Use least max_depth in get_vlc2()
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 1 Nov 2020 01:17:43 +0000 (02:17 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 24 Nov 2020 10:35:03 +0000 (11:35 +0100)
commit73b3ea572819a79e7896627e4c1daf74ce1dfe46
tree5ecd4250b518de1c2c60701f5deddafe051f2933
parente74621b0a8c4d8f9aecdbb72ca264bdaca17ab52
avcodec/g2meet: Use least max_depth in get_vlc2()

The longest AC codes of the standard JPEG tables are 16 bits long; for
the DC tables, the maximum is 11, so using max_depth of two is
sufficient.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/g2meet.c