summaryrefslogtreecommitdiff
path: root/libavcodec/flacdec.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/flacdec.c
parent5828e8209f48f206c42b69e314a6988b50e98924 (diff)
downloadffmpeg-3a869cd5cdc8c64ce93a98284029a162bd9f0e6e.tar.gz
avcodec/flacdsp: Remove unused function parameter
Forgotten in e609cfd697f8eed7325591f767585041719807d1. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/flacdec.c')
-rw-r--r--libavcodec/flacdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index 17f1821c50..5ddc5a34d2 100644
--- a/libavcodec/flacdec.c
+++ b/libavcodec/flacdec.c
@@ -117,7 +117,7 @@ static av_cold int flac_decode_init(AVCodecContext *avctx)
return ret;
flac_set_bps(s);
ff_flacdsp_init(&s->dsp, avctx->sample_fmt,
- s->flac_stream_info.channels, s->flac_stream_info.bps);
+ s->flac_stream_info.channels);
s->got_streaminfo = 1;
return 0;
@@ -185,7 +185,7 @@ static int parse_streaminfo(FLACContext *s, const uint8_t *buf, int buf_size)
return ret;
flac_set_bps(s);
ff_flacdsp_init(&s->dsp, s->avctx->sample_fmt,
- s->flac_stream_info.channels, s->flac_stream_info.bps);
+ s->flac_stream_info.channels);
s->got_streaminfo = 1;
return 0;
@@ -536,7 +536,7 @@ static int decode_frame(FLACContext *s)
dump_headers(s->avctx, &s->flac_stream_info);
}
ff_flacdsp_init(&s->dsp, s->avctx->sample_fmt,
- s->flac_stream_info.channels, s->flac_stream_info.bps);
+ s->flac_stream_info.channels);
// dump_headers(s->avctx, &s->flac_stream_info);