mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-21 18:43:25 +00:00
lavc/x264: Also clean-up libx264rgb after init errors.
Missed in c180f0f6
This commit is contained in:
parent
808a6717e0
commit
434588596f
@ -1195,6 +1195,7 @@ AVCodec ff_libx264rgb_encoder = {
|
|||||||
.priv_class = &rgbclass,
|
.priv_class = &rgbclass,
|
||||||
.defaults = x264_defaults,
|
.defaults = x264_defaults,
|
||||||
.pix_fmts = pix_fmts_8bit_rgb,
|
.pix_fmts = pix_fmts_8bit_rgb,
|
||||||
|
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
|
||||||
.wrapper_name = "libx264",
|
.wrapper_name = "libx264",
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user