mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
avcodec/y41penc: Remove empty close function
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
beca89ed28
commit
c767af97f8
@ -75,11 +75,6 @@ static int y41p_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static av_cold int y41p_encode_close(AVCodecContext *avctx)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
AVCodec ff_y41p_encoder = {
|
AVCodec ff_y41p_encoder = {
|
||||||
.name = "y41p",
|
.name = "y41p",
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed YUV 4:1:1 12-bit"),
|
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed YUV 4:1:1 12-bit"),
|
||||||
@ -87,7 +82,6 @@ AVCodec ff_y41p_encoder = {
|
|||||||
.id = AV_CODEC_ID_Y41P,
|
.id = AV_CODEC_ID_Y41P,
|
||||||
.init = y41p_encode_init,
|
.init = y41p_encode_init,
|
||||||
.encode2 = y41p_encode_frame,
|
.encode2 = y41p_encode_frame,
|
||||||
.close = y41p_encode_close,
|
|
||||||
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV411P,
|
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV411P,
|
||||||
AV_PIX_FMT_NONE },
|
AV_PIX_FMT_NONE },
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user