mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
avcodec/clearvideo: Use minimal max_depth in get_vlc2()
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
c880889cfd
commit
222cc6ea26
@ -369,7 +369,7 @@ static TileInfo* decode_tile_info(GetBitContext *gb, LevelCodes *lc, int level)
|
||||
}
|
||||
|
||||
if (lc[level].mv_cb.table) {
|
||||
uint16_t mv_code = get_vlc2(gb, lc[level].mv_cb.table, CLV_VLC_BITS, 3);
|
||||
uint16_t mv_code = get_vlc2(gb, lc[level].mv_cb.table, CLV_VLC_BITS, 2);
|
||||
|
||||
if (mv_code != MV_ESC) {
|
||||
mv.x = (int8_t)(mv_code & 0xff);
|
||||
|
Loading…
x
Reference in New Issue
Block a user