mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +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:
parent
e8aec714d3
commit
20f9cfb3e3
@ -568,7 +568,7 @@ static int get_dw(SirenContext *s)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int decode_vector(SirenContext *s, int number_of_regions,
|
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)
|
int *power_categories, float *coefs, int scale_factor)
|
||||||
{
|
{
|
||||||
GetBitContext *gb = &s->gb;
|
GetBitContext *gb = &s->gb;
|
||||||
@ -731,7 +731,7 @@ static int siren_decode(AVCodecContext *avctx, void *data,
|
|||||||
for (int i = 0; i < rate_control; i++)
|
for (int i = 0; i < rate_control; i++)
|
||||||
s->power_categories[s->category_balance[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->decoder_standard_deviation, s->power_categories,
|
||||||
s->imdct_in, s->scale_factor);
|
s->imdct_in, s->scale_factor);
|
||||||
if (ret < 0 && !s->microsoft)
|
if (ret < 0 && !s->microsoft)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user