diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-07 18:07:54 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-12 18:29:10 +0200 |
commit | 4e65a41a5cfdcafb0c9d26b7e531daa3a1b5fde2 (patch) | |
tree | 88b21eaa86b4c579a385966892cdf1fa6464f4e9 /libavcodec/rv30.c | |
parent | 7e241a1b73bcca768f48ff1851e9e9f3f0752000 (diff) | |
download | ffmpeg-4e65a41a5cfdcafb0c9d26b7e531daa3a1b5fde2.tar.gz |
avcodec/rv34: Move dsp init code to rv30/rv40
It avoids both runtime and compile-time checks.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/rv30.c')
-rw-r--r-- | libavcodec/rv30.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rv30.c b/libavcodec/rv30.c index 36cd5345fd..e2b75fbec0 100644 --- a/libavcodec/rv30.c +++ b/libavcodec/rv30.c @@ -285,6 +285,7 @@ static av_cold int rv30_decode_init(AVCodecContext *avctx) r->loop_filter = rv30_loop_filter; r->luma_dc_quant_i = rv30_luma_dc_quant; r->luma_dc_quant_p = rv30_luma_dc_quant; + ff_rv30dsp_init(&r->rdsp); return 0; } |