mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avcodec/mss2: Remove write-only QpelDSPContext
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
6e5acb6c88
commit
9cc38cc636
@ -42,7 +42,6 @@ typedef struct MSS2Context {
|
|||||||
AVFrame *last_pic;
|
AVFrame *last_pic;
|
||||||
MSS12Context c;
|
MSS12Context c;
|
||||||
MSS2DSPContext dsp;
|
MSS2DSPContext dsp;
|
||||||
QpelDSPContext qdsp;
|
|
||||||
SliceContext sc[2];
|
SliceContext sc[2];
|
||||||
} MSS2Context;
|
} MSS2Context;
|
||||||
|
|
||||||
@ -837,7 +836,6 @@ static av_cold int mss2_decode_init(AVCodecContext *avctx)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
ff_mss2dsp_init(&ctx->dsp);
|
ff_mss2dsp_init(&ctx->dsp);
|
||||||
ff_qpeldsp_init(&ctx->qdsp);
|
|
||||||
|
|
||||||
avctx->pix_fmt = c->free_colours == 127 ? AV_PIX_FMT_RGB555
|
avctx->pix_fmt = c->free_colours == 127 ? AV_PIX_FMT_RGB555
|
||||||
: AV_PIX_FMT_RGB24;
|
: AV_PIX_FMT_RGB24;
|
||||||
|
Loading…
Reference in New Issue
Block a user