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

aout: fix assertion on error path from transcode

parent 5885650e
......@@ -475,7 +475,8 @@ aout_filters_t *aout_FiltersNew (vlc_object_t *obj,
error:
aout_FiltersPipelineDestroy (filters->tab, filters->count);
var_DelCallback (obj, "visual", VisualizationCallback, NULL);
if (request_vout != NULL)
var_DelCallback (obj, "visual", VisualizationCallback, NULL);
free (filters);
return NULL;
}
......
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