aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/serdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-22 01:39:09 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-27 15:44:38 +0200
commit06fafbe01e2a07dd636f512101d95caaa58302b1 (patch)
treefee6feb11b017af3ed581b9613e167c9d947e85e /libavformat/serdec.c
parent178dcbb96fd9fe11896e468e42e68559ea01d92f (diff)
downloadffmpeg-06fafbe01e2a07dd636f512101d95caaa58302b1.tar.gz
avcodec/mpeg12enc: Don't initialize ff_rl_mpeg2 unnecessarily
ff_rl_mpeg1 and ff_rl_mpeg2 differ only in RLTable.table_vlc, which ff_rl_init() does not use to initialize RLTable.max_level, RLTable.max_run and RLTable.index_run. This implies that these tables agree for ff_rl_mpeg1 and ff_rl_mpeg2; hence one can just use one of them and avoid calling ff_rl_init() ff_rl_mpeg2 alltogether. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/serdec.c')
0 files changed, 0 insertions, 0 deletions