diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-13 09:08:32 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-16 00:29:06 +0200 |
commit | 753e450a71e78eecf2aa23fe8b52dcec69490d5f (patch) | |
tree | daa12434e9a8fc42b40ab7e44c75fe99a5300abc /libavcodec/v408enc.c | |
parent | 7265b7d904f86ec1c681222310c739f92ba55e5e (diff) |
avcodec/v3/408enc: Remove empty close functions
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/v408enc.c')
-rw-r--r-- | libavcodec/v408enc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/v408enc.c b/libavcodec/v408enc.c index a2ab66d911..d2d84d9c40 100644 --- a/libavcodec/v408enc.c +++ b/libavcodec/v408enc.c @@ -73,11 +73,6 @@ static int v408_encode_frame(AVCodecContext *avctx, AVPacket *pkt, return 0; } -static av_cold int v408_encode_close(AVCodecContext *avctx) -{ - return 0; -} - #if CONFIG_AYUV_ENCODER AVCodec ff_ayuv_encoder = { .name = "ayuv", @@ -86,7 +81,6 @@ AVCodec ff_ayuv_encoder = { .id = AV_CODEC_ID_AYUV, .init = v408_encode_init, .encode2 = v408_encode_frame, - .close = v408_encode_close, .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUVA444P, AV_PIX_FMT_NONE }, }; #endif @@ -98,7 +92,6 @@ AVCodec ff_v408_encoder = { .id = AV_CODEC_ID_V408, .init = v408_encode_init, .encode2 = v408_encode_frame, - .close = v408_encode_close, .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUVA444P, AV_PIX_FMT_NONE }, }; #endif |