diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-25 22:42:29 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-08 17:51:45 +0100 |
commit | 222cc6ea26287bad018f73ae97212847182e5f1b (patch) | |
tree | bc9f8fb80f77eb2212e4c9f454c30252d8733005 | |
parent | c880889cfd0534fa4c29f117ae93e69d8a347d32 (diff) | |
download | ffmpeg-222cc6ea26287bad018f73ae97212847182e5f1b.tar.gz |
avcodec/clearvideo: Use minimal max_depth in get_vlc2()
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/clearvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/clearvideo.c b/libavcodec/clearvideo.c index 0885b82837..a5f9cc3ca2 100644 --- a/libavcodec/clearvideo.c +++ b/libavcodec/clearvideo.c @@ -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); |