mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
avcodec/ituh263enc: Remove unused function parameter
Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
1ea13f949a
commit
12d0bb382b
@ -713,8 +713,7 @@ static av_cold void init_mv_penalty_and_fcode(MpegEncContext *s)
|
||||
}
|
||||
}
|
||||
|
||||
static av_cold void init_uni_h263_rl_tab(RLTable *rl, uint32_t *bits_tab,
|
||||
uint8_t *len_tab)
|
||||
static av_cold void init_uni_h263_rl_tab(const RLTable *rl, uint8_t *len_tab)
|
||||
{
|
||||
int slevel, run, last;
|
||||
|
||||
@ -738,10 +737,9 @@ static av_cold void init_uni_h263_rl_tab(RLTable *rl, uint32_t *bits_tab,
|
||||
len= rl->table_vlc[code][1];
|
||||
bits=bits*2+sign; len++;
|
||||
|
||||
if(code!=rl->n && len < len_tab[index]){
|
||||
if(bits_tab) bits_tab[index]= bits;
|
||||
if (code != rl->n && len < len_tab[index])
|
||||
len_tab [index]= len;
|
||||
}
|
||||
|
||||
/* ESC */
|
||||
bits= rl->table_vlc[rl->n][0];
|
||||
len = rl->table_vlc[rl->n][1];
|
||||
@ -749,10 +747,8 @@ static av_cold void init_uni_h263_rl_tab(RLTable *rl, uint32_t *bits_tab,
|
||||
bits=bits*64+run; len+=6;
|
||||
bits=bits*256+(level&0xff); len+=8;
|
||||
|
||||
if(len < len_tab[index]){
|
||||
if(bits_tab) bits_tab[index]= bits;
|
||||
if (len < len_tab[index])
|
||||
len_tab [index]= len;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -768,8 +764,8 @@ av_cold void ff_h263_encode_init(MpegEncContext *s)
|
||||
ff_rl_init(&ff_h263_rl_inter, ff_h263_static_rl_table_store[0]);
|
||||
ff_rl_init(&ff_rl_intra_aic, ff_h263_static_rl_table_store[1]);
|
||||
|
||||
init_uni_h263_rl_tab(&ff_rl_intra_aic, NULL, uni_h263_intra_aic_rl_len);
|
||||
init_uni_h263_rl_tab(&ff_h263_rl_inter , NULL, uni_h263_inter_rl_len);
|
||||
init_uni_h263_rl_tab(&ff_rl_intra_aic, uni_h263_intra_aic_rl_len);
|
||||
init_uni_h263_rl_tab(&ff_h263_rl_inter, uni_h263_inter_rl_len);
|
||||
|
||||
init_mv_penalty_and_fcode(s);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user