History

avcodec/cri, tdsc, tiff: Don't forward AVCodecContext.dct_algo

It is unused for decoders.

Andreas Rheinhardt committed 2 years ago

Commit 80666fd1 parent 96469333 files · +0 −3Browse files

Unified · Split

3 files
  1. libavcodec/cri.c +0 −1
  2. libavcodec/tdsc.c +0 −1
  3. libavcodec/tiff.c +0 −1
libavcodec/cri.c+0−1
@@ -70,7 +70,6 @@ static av_cold int cri_decode_init(AVCodecContext *avctx) · 69 unmodified lines
7070 return AVERROR(ENOMEM);
7171 s->jpeg_avctx->flags = avctx->flags;
7272 s->jpeg_avctx->flags2 = avctx->flags2;
73− s->jpeg_avctx->dct_algo = avctx->dct_algo;
7473 s->jpeg_avctx->idct_algo = avctx->idct_algo;
7574 ret = avcodec_open2(s->jpeg_avctx, codec, NULL);
7675 if (ret < 0)
libavcodec/tdsc.c+0−1
@@ -127,7 +127,6 @@ static av_cold int tdsc_init(AVCodecContext *avctx) · 126 unmodified lines
127127 return AVERROR(ENOMEM);
128128 ctx->jpeg_avctx->flags = avctx->flags;
129129 ctx->jpeg_avctx->flags2 = avctx->flags2;
130− ctx->jpeg_avctx->dct_algo = avctx->dct_algo;
131130 ctx->jpeg_avctx->idct_algo = avctx->idct_algo;
132131 ret = avcodec_open2(ctx->jpeg_avctx, codec, NULL);
133132 if (ret < 0)
libavcodec/tiff.c+0−1
@@ -2416,7 +2416,6 @@ static av_cold int tiff_init(AVCodecContext *avctx) · 2415 unmodified lines
24162416 return AVERROR(ENOMEM);
24172417 s->avctx_mjpeg->flags = avctx->flags;
24182418 s->avctx_mjpeg->flags2 = avctx->flags2;
2419− s->avctx_mjpeg->dct_algo = avctx->dct_algo;
24202419 s->avctx_mjpeg->idct_algo = avctx->idct_algo;
24212420 s->avctx_mjpeg->max_pixels = avctx->max_pixels;
24222421 ret = avcodec_open2(s->avctx_mjpeg, codec, NULL);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t