diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-23 03:21:34 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-08 17:51:48 +0100 |
commit | 480761c82fcbf7e3571618b2226d2441a2ea45b8 (patch) | |
tree | 2a9dfd3afb2f7a477f713b254c81de94dbf47b82 | |
parent | f0f28626c0ce64f3c7e9e59df0c139e9cffbdbfa (diff) | |
download | ffmpeg-480761c82fcbf7e3571618b2226d2441a2ea45b8.tar.gz |
avcodec/h261enc: Remove unused function parameter
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/h261enc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c index 909bc23bb4..8d5d62b786 100644 --- a/libavcodec/h261enc.c +++ b/libavcodec/h261enc.c @@ -322,8 +322,7 @@ void ff_h261_encode_mb(MpegEncContext *s, int16_t block[6][64], } } -static av_cold void init_uni_h261_rl_tab(RLTable *rl, uint32_t *bits_tab, - uint8_t *len_tab) +static av_cold void init_uni_h261_rl_tab(const RLTable *rl, uint8_t *len_tab) { int slevel, run, last; @@ -372,7 +371,7 @@ av_cold void ff_h261_encode_init(MpegEncContext *s) s->c_dc_scale_table = ff_mpeg1_dc_scale_table; s->ac_esc_length = 6+6+8; - init_uni_h261_rl_tab(&ff_h261_rl_tcoeff, NULL, uni_h261_rl_len); + init_uni_h261_rl_tab(&ff_h261_rl_tcoeff, uni_h261_rl_len); s->intra_ac_vlc_length = s->inter_ac_vlc_length = uni_h261_rl_len; s->intra_ac_vlc_last_length = s->inter_ac_vlc_last_length = uni_h261_rl_len + 128*64; |