mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/lossless_videodsp: Pass AVCodecContext to init
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
622d463000
commit
eaacfc7dd1
4 changed files with 7 additions and 6 deletions
|
|
@ -115,7 +115,7 @@ static int add_hfyu_left_prediction_int16_c(uint16_t *dst, const uint16_t *src,
|
|||
}
|
||||
|
||||
|
||||
void ff_llviddsp_init(LLVidDSPContext *c)
|
||||
void ff_llviddsp_init(LLVidDSPContext *c, AVCodecContext *avctx)
|
||||
{
|
||||
c->add_int16 = add_int16_c;
|
||||
c->diff_int16= diff_int16_c;
|
||||
|
|
@ -124,5 +124,5 @@ void ff_llviddsp_init(LLVidDSPContext *c)
|
|||
c->sub_hfyu_median_prediction_int16 = sub_hfyu_median_prediction_int16_c;
|
||||
|
||||
if (ARCH_X86)
|
||||
ff_llviddsp_init_x86(c);
|
||||
ff_llviddsp_init_x86(c, avctx);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue