diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-28 17:40:58 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-12 11:44:13 +0200 |
commit | 99d26939af3f0ef80f56debe458006abec3cbc71 (patch) | |
tree | 7307014c20860e7ca5b1a4560c0739769b62936e /libavcodec/rv30.c | |
parent | b90b6764093a40d6b2064cdd07c4c715c934ebf1 (diff) | |
download | ffmpeg-99d26939af3f0ef80f56debe458006abec3cbc71.tar.gz |
avcodec/mpegvideo_dec: Add close function for mpegvideo-decoders
Currently identical to the H.261 and H.263 close functions
(which it replaces). It will be extended in future commits.
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 9c8bb966e9..5e1dd01aa1 100644 --- a/libavcodec/rv30.c +++ b/libavcodec/rv30.c @@ -302,6 +302,7 @@ const FFCodec ff_rv30_decoder = { FF_CODEC_DECODE_CB(ff_rv34_decode_frame), .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | AV_CODEC_CAP_FRAME_THREADS, + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, .flush = ff_mpeg_flush, UPDATE_THREAD_CONTEXT(ff_rv34_decode_update_thread_context), }; |