diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-23 01:34:56 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-23 01:43:00 +0100 |
commit | eaacfc7dd1eaeec7e5e243f1e0ee5e8a7ff845a3 (patch) | |
tree | 9160fb7e3db89b6dbee16e902170dcb6681725a1 /libavcodec/lossless_videodsp.c | |
parent | 622d463000371467cb0365744f0c1d92b56bed52 (diff) | |
download | ffmpeg-eaacfc7dd1eaeec7e5e243f1e0ee5e8a7ff845a3.tar.gz |
avcodec/lossless_videodsp: Pass AVCodecContext to init
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/lossless_videodsp.c')
-rw-r--r-- | libavcodec/lossless_videodsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/lossless_videodsp.c b/libavcodec/lossless_videodsp.c index 197f63e066..aa1e7df84c 100644 --- a/libavcodec/lossless_videodsp.c +++ b/libavcodec/lossless_videodsp.c @@ -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); } |