Commit c57da8b4 authored by Thomas Guillem's avatar Thomas Guillem

vout: splitter: fix double picture release in case of error

Ref #18116
parent 8714e92f
......@@ -1454,7 +1454,6 @@ static void SplitterPrepare(vout_display_t *vd,
if (video_splitter_Filter(sys->splitter, sys->picture, picture)) {
for (int i = 0; i < sys->count; i++)
sys->picture[i] = NULL;
picture_Release(picture);
return;
}
......
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