Commit 92e0041f authored by Thomas Guillem's avatar Thomas Guillem

chroma: cvpx: add missing error check

parent de3d3898
......@@ -89,6 +89,11 @@ static picture_t *CVPX_TO_SW_Filter(filter_t *p_filter, picture_t *src)
picture_t *src_sw =
cvpxpic_create_mapped(&p_filter->, cvpxpic_get_ref(src),
if (!src_sw)
return NULL;
picture_CopyProperties(src_sw, src);
return src_sw;
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