mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 09:52:17 +00:00
avcodec/cri, tdsc, tiff: Don't forward AVCodecContext.dct_algo
It is unused for decoders. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
964693324a
commit
80666fdd2f
@ -70,7 +70,6 @@ static av_cold int cri_decode_init(AVCodecContext *avctx)
|
||||
return AVERROR(ENOMEM);
|
||||
s->jpeg_avctx->flags = avctx->flags;
|
||||
s->jpeg_avctx->flags2 = avctx->flags2;
|
||||
s->jpeg_avctx->dct_algo = avctx->dct_algo;
|
||||
s->jpeg_avctx->idct_algo = avctx->idct_algo;
|
||||
ret = avcodec_open2(s->jpeg_avctx, codec, NULL);
|
||||
if (ret < 0)
|
||||
|
@ -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)
|
||||
|
@ -2416,7 +2416,6 @@ static av_cold int tiff_init(AVCodecContext *avctx)
|
||||
return AVERROR(ENOMEM);
|
||||
s->avctx_mjpeg->flags = avctx->flags;
|
||||
s->avctx_mjpeg->flags2 = avctx->flags2;
|
||||
s->avctx_mjpeg->dct_algo = avctx->dct_algo;
|
||||
s->avctx_mjpeg->idct_algo = avctx->idct_algo;
|
||||
s->avctx_mjpeg->max_pixels = avctx->max_pixels;
|
||||
ret = avcodec_open2(s->avctx_mjpeg, codec, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user