aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tdsc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-11 11:42:29 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-14 13:18:42 +0100
commit80666fdd2ff1dca33433d7df3f4f09f29116f8cb (patch)
tree6798aa1dac21f48f58a48fdc4e794d5eea7703e7 /libavcodec/tdsc.c
parent964693324a755c6cc8d065329e0c0282ab2c1f4d (diff)
downloadffmpeg-80666fdd2ff1dca33433d7df3f4f09f29116f8cb.tar.gz
avcodec/cri, tdsc, tiff: Don't forward AVCodecContext.dct_algo
It is unused for decoders. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/tdsc.c')
-rw-r--r--libavcodec/tdsc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/tdsc.c b/libavcodec/tdsc.c
index 739738d9b1..624e219cb4 100644
--- a/libavcodec/tdsc.c
+++ b/libavcodec/tdsc.c
@@ -127,7 +127,6 @@ static av_cold int tdsc_init(AVCodecContext *avctx)
return AVERROR(ENOMEM);
ctx->jpeg_avctx->flags = avctx->flags;
ctx->jpeg_avctx->flags2 = avctx->flags2;
- ctx->jpeg_avctx->dct_algo = avctx->dct_algo;
ctx->jpeg_avctx->idct_algo = avctx->idct_algo;
ret = avcodec_open2(ctx->jpeg_avctx, codec, NULL);
if (ret < 0)