aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/flvdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-04-28 17:40:58 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-12 11:44:13 +0200
commit99d26939af3f0ef80f56debe458006abec3cbc71 (patch)
tree7307014c20860e7ca5b1a4560c0739769b62936e /libavcodec/flvdec.c
parentb90b6764093a40d6b2064cdd07c4c715c934ebf1 (diff)
downloadffmpeg-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/flvdec.c')
-rw-r--r--libavcodec/flvdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/flvdec.c b/libavcodec/flvdec.c
index 8baaed06a8..1bb1b12917 100644
--- a/libavcodec/flvdec.c
+++ b/libavcodec/flvdec.c
@@ -24,7 +24,7 @@
#include "flvdec.h"
#include "h263dec.h"
#include "mpegvideo.h"
-#include "mpegvideodata.h"
+#include "mpegvideodec.h"
int ff_flv_decode_picture_header(MpegEncContext *s)
{
@@ -118,8 +118,8 @@ const FFCodec ff_flv_decoder = {
.p.id = AV_CODEC_ID_FLV1,
.priv_data_size = sizeof(MpegEncContext),
.init = ff_h263_decode_init,
- .close = ff_h263_decode_end,
FF_CODEC_DECODE_CB(ff_h263_decode_frame),
+ .close = ff_mpv_decode_close,
.p.capabilities = AV_CODEC_CAP_DRAW_HORIZ_BAND | AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM,
.p.max_lowres = 3,