diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-14 17:38:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-20 18:58:39 +0200 |
commit | c735552b0b7fc5ab744fd8f652d27e490c6bccd9 (patch) | |
tree | 1b850e7c3c9c22197b4c6e3885107f2c894eee7d /libavcodec/h263dec.c | |
parent | 7b539ca3e6bae701d88096ff8dc3db7f13b7318a (diff) | |
download | ffmpeg-c735552b0b7fc5ab744fd8f652d27e490c6bccd9.tar.gz |
avcodec/rv10: Use ff_h263_decode_init()
The RV10 and RV20 decoders use ff_h263_decode_mb() and also the
H.263 DSP and VLCs. Despite not calling ff_h263_decode_frame(),
it is nevertheless beneficial to call ff_h263_decode_init()
to reduce code duplication.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 666675fcf1..19a57582ad 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -135,6 +135,8 @@ av_cold int ff_h263_decode_init(AVCodecContext *avctx) s->msmpeg4_version = MSMP4_WMV2; break; case AV_CODEC_ID_H263I: + case AV_CODEC_ID_RV10: + case AV_CODEC_ID_RV20: break; case AV_CODEC_ID_FLV1: s->h263_flv = 1; |