Commit ea8eb91a authored by Thomas Guillem's avatar Thomas Guillem

ci_filters: fix leak

parent 50b2d6ad
......@@ -445,7 +445,7 @@ Close_RemoveConverters(filter_t *filter, struct ci_filters_ctx *ctx)
static int
Open_AddConverter(filter_t *filter, struct ci_filters_ctx *ctx)
{
video_format_Copy(&ctx->cvpx_pool_fmt, &filter->fmt_in.video);
ctx->cvpx_pool_fmt = filter->fmt_in.video;
ctx->cvpx_pool_fmt.i_chroma = VLC_CODEC_CVPX_NV12;
ctx->cvpx_pool = cvpxpool_create(&ctx->cvpx_pool_fmt, 3);
if (!ctx->cvpx_pool)
......
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