summaryrefslogtreecommitdiff
path: root/libavcodec/flacenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-31 21:06:51 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-05 03:28:45 +0200
commit3a869cd5cdc8c64ce93a98284029a162bd9f0e6e (patch)
tree9d8cc3e217589671e5a5864ed99b756c1ca33637 /libavcodec/flacenc.c
parent5828e8209f48f206c42b69e314a6988b50e98924 (diff)
avcodec/flacdsp: Remove unused function parameter
Forgotten in e609cfd697f8eed7325591f767585041719807d1. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r--libavcodec/flacenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c
index 9350e42dbc..3cfefbc89f 100644
--- a/libavcodec/flacenc.c
+++ b/libavcodec/flacenc.c
@@ -425,8 +425,7 @@ static av_cold int flac_encode_init(AVCodecContext *avctx)
s->options.max_prediction_order, FF_LPC_TYPE_LEVINSON);
ff_bswapdsp_init(&s->bdsp);
- ff_flacdsp_init(&s->flac_dsp, avctx->sample_fmt, channels,
- avctx->bits_per_raw_sample);
+ ff_flacdsp_init(&s->flac_dsp, avctx->sample_fmt, channels);
dprint_compression_options(s);