diff --git a/libavcodec/libdiracenc.c b/libavcodec/libdiracenc.c index b0de3441b0..9c99b1545e 100644 --- a/libavcodec/libdiracenc.c +++ b/libavcodec/libdiracenc.c @@ -417,6 +417,6 @@ AVCodec libdirac_encoder = { libdirac_encode_frame, libdirac_encode_close, .capabilities= CODEC_CAP_DELAY, - .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, -1}, + .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_NONE}, .long_name= NULL_IF_CONFIG_SMALL("libdirac Dirac 2.2"), } ;