[FFmpeg-cvslog] lavc/x264: Also clean-up libx264rgb after init errors.
Carl Eugen Hoyos
git at videolan.org
Sun Aug 25 17:11:11 EEST 2019
ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Sun Aug 25 16:09:40 2019 +0200| [434588596fef6bd2cef17f8c9c2979a010153edd] | committer: Carl Eugen Hoyos
lavc/x264: Also clean-up libx264rgb after init errors.
Missed in c180f0f6
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=434588596fef6bd2cef17f8c9c2979a010153edd
---
libavcodec/libx264.c | 1 +
1 file changed, 1 insertion(+)
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
More information about the ffmpeg-cvslog
mailing list