It is unused for decoders.
Showing the changes to libavcodec (3 of 3 files). Show all
Unified · Split
| @@ -70,7 +70,6 @@ static av_cold int cri_decode_init(AVCodecContext *avctx) · 69 unmodified lines | ||
| 70 | 70 | return AVERROR(ENOMEM); |
| 71 | 71 | s->jpeg_avctx->flags = avctx->flags; |
| 72 | 72 | s->jpeg_avctx->flags2 = avctx->flags2; |
| 73 | − s->jpeg_avctx->dct_algo = avctx->dct_algo; | |
| 74 | 73 | s->jpeg_avctx->idct_algo = avctx->idct_algo; |
| 75 | 74 | ret = avcodec_open2(s->jpeg_avctx, codec, NULL); |
| 76 | 75 | if (ret < 0) |
| @@ -127,7 +127,6 @@ static av_cold int tdsc_init(AVCodecContext *avctx) · 126 unmodified lines | ||
| 127 | 127 | return AVERROR(ENOMEM); |
| 128 | 128 | ctx->jpeg_avctx->flags = avctx->flags; |
| 129 | 129 | ctx->jpeg_avctx->flags2 = avctx->flags2; |
| 130 | − ctx->jpeg_avctx->dct_algo = avctx->dct_algo; | |
| 131 | 130 | ctx->jpeg_avctx->idct_algo = avctx->idct_algo; |
| 132 | 131 | ret = avcodec_open2(ctx->jpeg_avctx, codec, NULL); |
| 133 | 132 | if (ret < 0) |
| @@ -2416,7 +2416,6 @@ static av_cold int tiff_init(AVCodecContext *avctx) · 2415 unmodified lines | ||
| 2416 | 2416 | return AVERROR(ENOMEM); |
| 2417 | 2417 | s->avctx_mjpeg->flags = avctx->flags; |
| 2418 | 2418 | s->avctx_mjpeg->flags2 = avctx->flags2; |
| 2419 | − s->avctx_mjpeg->dct_algo = avctx->dct_algo; | |
| 2420 | 2419 | s->avctx_mjpeg->idct_algo = avctx->idct_algo; |
| 2421 | 2420 | s->avctx_mjpeg->max_pixels = avctx->max_pixels; |
| 2422 | 2421 | ret = avcodec_open2(s->avctx_mjpeg, codec, NULL); |