Commit 43458859 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

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

Missed in c180f0f6
parent 808a6717
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment