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

window: owner cannot be NULL

parent e92bc309
......@@ -62,11 +62,8 @@ vout_window_t *vout_window_New(vlc_object_t *obj, const char *module,
window->info.has_double_click = false;
window->control = NULL;
window->sys = NULL;
if (owner != NULL)
window->owner = *owner;
window->owner.resized = NULL;
assert(owner != NULL);
window->owner = *owner;
w->module = vlc_module_load(window, "vout window", module, false,
vout_window_start, window, cfg);
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