diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-22 02:12:44 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-27 15:44:38 +0200 |
commit | a12abf59a9255eef50324245f079a6687c7b4a98 (patch) | |
tree | 8982170861a2e5df4751b2e804a19f744420f156 /libavcodec/mpeg12.c | |
parent | 6bb0760a91576d53de960f8377d3ee341f14ec28 (diff) | |
download | ffmpeg-a12abf59a9255eef50324245f079a6687c7b4a98.tar.gz |
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.c | 8 |
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); } |