diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index a99c1f3163..86e3530e79 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -1195,6 +1195,7 @@ AVCodec ff_libx264rgb_encoder = { .priv_class = &rgbclass, .defaults = x264_defaults, .pix_fmts = pix_fmts_8bit_rgb, + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, .wrapper_name = "libx264", }; #endif