diff options
author | Peter Ross <pross@xvid.org> | 2019-05-24 20:10:32 +1000 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2019-06-08 09:37:26 +1000 |
commit | b6ca032adebe05573d9fe9c3a2625240f55b33b0 (patch) | |
tree | 27a111436a462d5cfb893fbacac40b908b8400ff /libavcodec/vp3.c | |
parent | ad2745e86763c72b8580429e8e345196a4be27bc (diff) | |
download | ffmpeg-b6ca032adebe05573d9fe9c3a2625240f55b33b0.tar.gz |
avcodec/vp3data: combine eob_run_base and eob_run_get_bits tables
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index b248c90413..63f60c9109 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -988,9 +988,9 @@ static int unpack_vlcs(Vp3DecodeContext *s, GetBitContext *gb, token = get_vlc2(gb, vlc_table, 11, 3); /* use the token to get a zero run, a coefficient, and an eob run */ if ((unsigned) token <= 6U) { - eob_run = eob_run_base[token]; - if (eob_run_get_bits[token]) - eob_run += get_bits(gb, eob_run_get_bits[token]); + eob_run = eob_run_table[token].base; + if (eob_run_table[token].bits) + eob_run += get_bits(gb, eob_run_table[token].bits); if (!eob_run) eob_run = INT_MAX; |