]> git.sesse.net Git - ffmpeg/commit
avcodec/mpeg4videodec: Use smallest max_depth in get_vlc2()
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 23 Oct 2020 18:00:27 +0000 (20:00 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 24 Oct 2020 14:50:59 +0000 (16:50 +0200)
commit6965ade54c867ec2e55b382d7fa60a1fecf1fe84
tree6f077556501d1df11ff79af06ab0e5e1f19eb3e6
parent51eda4c394f1b0c1b8aee67b90e10150ddae2f7c
avcodec/mpeg4videodec: Use smallest max_depth in get_vlc2()

The longest code here is 12 bits long and can be read in two attempts.

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