mirror of https://github.com/FFmpeg/FFmpeg.git
ff_mpeg12_init_vlcs() currently initializes index_run, max_level and max_run of ff_rl_mpeg1/2; yet the only user of these fields is the MPEG-1/2 encoder which already initializes these tables on its own. So remove the initializations in ff_mpeg12_init_vlcs(); this also simplifies making ff_mpeg12_init_vlcs() thread-safe. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/371/head
parent
1ead0c6388
commit
6e8fcd9c56
3 changed files with 4 additions and 8 deletions
Loading…
Reference in new issue