diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-28 16:27:06 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-02 11:55:22 +0200 |
commit | 6699ed38f37d2b6a9512cf61b8f51a7c38ffc988 (patch) | |
tree | 90f14b1b9009acb2a35b9cd7d0e708e666067967 /libavcodec/flacdec.c | |
parent | 17b1375965593e688c3e12ddbbb7298c5140b9e1 (diff) | |
download | ffmpeg-6699ed38f37d2b6a9512cf61b8f51a7c38ffc988.tar.gz |
avcodec/flac: Remove unused parameter from ff_flac_is_extradata_valid()
format is write-only.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/flacdec.c')
-rw-r--r-- | libavcodec/flacdec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index 3b16426e73..23e9eba4ad 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -94,7 +94,6 @@ static void flac_set_bps(FLACContext *s) static av_cold int flac_decode_init(AVCodecContext *avctx) { - enum FLACExtradataFormat format; uint8_t *streaminfo; int ret; FLACContext *s = avctx->priv_data; @@ -105,7 +104,7 @@ static av_cold int flac_decode_init(AVCodecContext *avctx) if (!avctx->extradata) return 0; - if (!ff_flac_is_extradata_valid(avctx, &format, &streaminfo)) + if (!ff_flac_is_extradata_valid(avctx, &streaminfo)) return AVERROR_INVALIDDATA; /* initialize based on the demuxer-supplied streamdata header */ |