]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/y41penc: Remove empty close function
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 29 Aug 2020 15:59:17 +0000 (17:59 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 30 Aug 2020 01:06:50 +0000 (03:06 +0200)
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/y41penc.c

index 63752e2b449f78f2c4b95ce8a9ce32d9d6a02759..d7d301fab5e75b37d7ac7ee1792aaefd1ecfe5bd 100644 (file)
@@ -75,11 +75,6 @@ static int y41p_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
     return 0;
 }
 
-static av_cold int y41p_encode_close(AVCodecContext *avctx)
-{
-    return 0;
-}
-
 AVCodec ff_y41p_encoder = {
     .name         = "y41p",
     .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,
     .init         = y41p_encode_init,
     .encode2      = y41p_encode_frame,
-    .close        = y41p_encode_close,
     .pix_fmts     = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV411P,
                                                  AV_PIX_FMT_NONE },
 };