1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avcodec/siren: decode_vector: remove unused parameter

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Peter Ross <pross@xvid.org>
This commit is contained in:
Peter Ross 2021-09-04 20:27:09 +10:00
parent e8aec714d3
commit 20f9cfb3e3

View File

@ -568,7 +568,7 @@ static int get_dw(SirenContext *s)
}
static int decode_vector(SirenContext *s, int number_of_regions,
int number_of_available_bits, float *decoder_standard_deviation,
float *decoder_standard_deviation,
int *power_categories, float *coefs, int scale_factor)
{
GetBitContext *gb = &s->gb;
@ -731,7 +731,7 @@ static int siren_decode(AVCodecContext *avctx, void *data,
for (int i = 0; i < rate_control; i++)
s->power_categories[s->category_balance[i]]++;
ret = decode_vector(s, s->number_of_regions, get_bits_left(gb),
ret = decode_vector(s, s->number_of_regions,
s->decoder_standard_deviation, s->power_categories,
s->imdct_in, s->scale_factor);
if (ret < 0 && !s->microsoft)