diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-08-25 17:09:40 +0300 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-08-25 17:09:40 +0300 |
commit | 434588596fef6bd2cef17f8c9c2979a010153edd (patch) | |
tree | cc196719ebfa107ed7ade880a9c16964eeb09b13 /libavcodec/libx264.c | |
parent | 808a6717e0c584738c60a109afd6d47f4973d619 (diff) |
lavc/x264: Also clean-up libx264rgb after init errors.
Missed in c180f0f6
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r-- | libavcodec/libx264.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |