1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/v3/408enc: Remove empty close functions

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-10-13 09:08:32 +02:00
parent 7265b7d904
commit 753e450a71
2 changed files with 0 additions and 13 deletions

View File

@ -68,11 +68,6 @@ static int v308_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
return 0;
}
static av_cold int v308_encode_close(AVCodecContext *avctx)
{
return 0;
}
AVCodec ff_v308_encoder = {
.name = "v308",
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"),
@ -80,6 +75,5 @@ AVCodec ff_v308_encoder = {
.id = AV_CODEC_ID_V308,
.init = v308_encode_init,
.encode2 = v308_encode_frame,
.close = v308_encode_close,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV444P, AV_PIX_FMT_NONE },
};

View File

@ -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