Commit c7217f85 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

display: do not use assert() for error handling

parent 72e0c0e9
......@@ -445,7 +445,8 @@ static int VoutDisplayCreateRender(vout_display_t *vd)
};
osys->filters = filter_chain_NewVideo(vd, false, &owner);
assert(osys->filters); /* TODO critical */
if (unlikely(osys->filters == NULL))
abort(); /* TODO critical */
/* */
es_format_t src;
......
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