summaryrefslogtreecommitdiff
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-08-25 16:09:40 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-08-25 16:09:40 +0200
commit434588596fef6bd2cef17f8c9c2979a010153edd (patch)
treecc196719ebfa107ed7ade880a9c16964eeb09b13 /libavcodec/libx264.c
parent808a6717e0c584738c60a109afd6d47f4973d619 (diff)
lavc/x264: Also clean-up libx264rgb after init errors.
Missed in c180f0f6
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r--libavcodec/libx264.c1
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