qsvdec: make ff_qsv_decode_init() static
It is not used outside of qsvdec.c anymore.
This commit is contained in:
parent
539e5ac2ec
commit
8aecec8402
@ -70,7 +70,7 @@ static int qsv_init_session(AVCodecContext *avctx, QSVContext *q, mfxSession ses
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ff_qsv_decode_init(AVCodecContext *avctx, QSVContext *q, mfxSession session)
|
||||
static int qsv_decode_init(AVCodecContext *avctx, QSVContext *q, mfxSession session)
|
||||
{
|
||||
mfxVideoParam param = { { 0 } };
|
||||
int ret;
|
||||
@ -413,7 +413,7 @@ int ff_qsv_process_data(AVCodecContext *avctx, QSVContext *q,
|
||||
q->nb_ext_buffers = user_ctx->nb_ext_buffers;
|
||||
}
|
||||
|
||||
ret = ff_qsv_decode_init(avctx, q, session);
|
||||
ret = qsv_decode_init(avctx, q, session);
|
||||
if (ret < 0)
|
||||
goto reinit_fail;
|
||||
}
|
||||
|
@ -67,8 +67,6 @@ typedef struct QSVContext {
|
||||
|
||||
int ff_qsv_map_pixfmt(enum AVPixelFormat format);
|
||||
|
||||
int ff_qsv_decode_init(AVCodecContext *s, QSVContext *q, mfxSession session);
|
||||
|
||||
int ff_qsv_process_data(AVCodecContext *avctx, QSVContext *q,
|
||||
AVFrame *frame, int *got_frame, AVPacket *pkt);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user