[vlc-commits] ci_filters: fix leak
Thomas Guillem
git at videolan.org
Thu Sep 28 13:51:46 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Sep 28 13:46:46 2017 +0200| [ea8eb91afa76d1f3ca7e14f04dfd3f2abaa11ee3] | committer: Thomas Guillem
ci_filters: fix leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea8eb91afa76d1f3ca7e14f04dfd3f2abaa11ee3
---
modules/video_filter/ci_filters.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_filter/ci_filters.m b/modules/video_filter/ci_filters.m
index 1d40cee093..7855d9ca45 100644
--- a/modules/video_filter/ci_filters.m
+++ b/modules/video_filter/ci_filters.m
@@ -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)
More information about the vlc-commits
mailing list