summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhddec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-20 02:52:15 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-21 20:24:40 +0200
commitfd72d8aea3fbda09e029d2ecd7564f8c98b347e3 (patch)
treefb6f951687aed296a0dcad96304ae8199636a095 /libavcodec/dnxhddec.c
parent57f3ca20dcb104665c3c5dce04829574dc8d044f (diff)
downloadffmpeg-fd72d8aea3fbda09e029d2ecd7564f8c98b347e3.tar.gz
avcodec/blockdsp: Remove unused AVCodecContext parameter
Possible since be95df12bb06b183c8d2aea3b0831fdf05466cf3. Reviewed-by: RĂ©mi Denis-Courmont <remi@remlab.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dnxhddec.c')
-rw-r--r--libavcodec/dnxhddec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
index 17b7179927..a44f95f044 100644
--- a/libavcodec/dnxhddec.c
+++ b/libavcodec/dnxhddec.c
@@ -273,7 +273,7 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame,
ctx->avctx->bits_per_raw_sample = ctx->bit_depth = bitdepth;
if (ctx->bit_depth != old_bit_depth) {
- ff_blockdsp_init(&ctx->bdsp, ctx->avctx);
+ ff_blockdsp_init(&ctx->bdsp);
ff_idctdsp_init(&ctx->idsp, ctx->avctx);
ff_init_scantable(ctx->idsp.idct_permutation, &ctx->scantable,
ff_zigzag_direct);