]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/v408enc.c
avformat/avformat, utils: Make av_find_best_stream const-correct
[ffmpeg] / libavcodec / v408enc.c
index e12965b7ad680e7298beefd131003dd08b088c1f..d2d84d9c40b3f97d8bfb7e30d650848cbdace851 100644 (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,9 +81,7 @@ 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 },
-    .capabilities = AV_CODEC_CAP_INTRA_ONLY,
 };
 #endif
 #if CONFIG_V408_ENCODER
@@ -99,8 +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 },
-    .capabilities = AV_CODEC_CAP_INTRA_ONLY,
 };
 #endif