summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-22 02:12:44 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-27 15:44:38 +0200
commita12abf59a9255eef50324245f079a6687c7b4a98 (patch)
tree8982170861a2e5df4751b2e804a19f744420f156 /libavcodec/mpeg12.c
parent6bb0760a91576d53de960f8377d3ee341f14ec28 (diff)
avcodec/mpeg12: Use ff_rl_mpeg1.table_(run|level) directly
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 282e473700..b0e638bfcd 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -152,11 +152,11 @@ static av_cold void mpeg12_init_vlcs(void)
&table_mb_btype[0][1], 2, 1,
&table_mb_btype[0][0], 2, 1, 64);
- ff_init_2d_vlc_rl(ff_mpeg1_vlc_table, ff_mpeg1_rl_vlc, ff_rl_mpeg1.table_run,
- ff_rl_mpeg1.table_level, ff_rl_mpeg1.n,
+ ff_init_2d_vlc_rl(ff_mpeg1_vlc_table, ff_mpeg1_rl_vlc, ff_mpeg12_run,
+ ff_mpeg12_level, MPEG12_RL_NB_ELEMS,
FF_ARRAY_ELEMS(ff_mpeg1_rl_vlc), 0);
- ff_init_2d_vlc_rl(ff_mpeg2_vlc_table, ff_mpeg2_rl_vlc, ff_rl_mpeg1.table_run,
- ff_rl_mpeg1.table_level, ff_rl_mpeg1.n,
+ ff_init_2d_vlc_rl(ff_mpeg2_vlc_table, ff_mpeg2_rl_vlc, ff_mpeg12_run,
+ ff_mpeg12_level, MPEG12_RL_NB_ELEMS,
FF_ARRAY_ELEMS(ff_mpeg2_rl_vlc), 0);
}