lavc/x264: Also clean-up libx264rgb after init errors.

Missed in c180f0f6
This commit is contained in:
Carl Eugen Hoyos 2019-08-25 16:09:40 +02:00
parent 808a6717e0
commit 434588596f

View File

@ -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