aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2021-09-04 20:27:09 +1000
committerPeter Ross <pross@xvid.org>2021-09-09 18:38:16 +1000
commit20f9cfb3e348043bcf77cfd82d7ba70ef00ecbe5 (patch)
tree464c619044600196ab2dee1ea0b73b2910a1ae8e
parente8aec714d322cb479da2f625f977a3d5b8b8c024 (diff)
downloadffmpeg-20f9cfb3e348043bcf77cfd82d7ba70ef00ecbe5.tar.gz
avcodec/siren: decode_vector: remove unused parameter
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Peter Ross <pross@xvid.org>
-rw-r--r--libavcodec/siren.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/siren.c b/libavcodec/siren.c
index 2817c5c592..2161b29a2c 100644
--- a/libavcodec/siren.c
+++ b/libavcodec/siren.c
@@ -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)