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

vout_wrapper: omit tautology

sys->decoder_pool is set to NULL a few lines above.
parent 3985c874
......@@ -104,7 +104,7 @@ int vout_OpenWrapper(vout_thread_t *vout,
sys->dpb_size = picture_pool_GetSize(display_pool) - reserved_picture;
sys->decoder_pool = display_pool;
sys->display_pool = display_pool;
} else if (!sys->decoder_pool) {
} else {
sys->decoder_pool =
picture_pool_NewFromFormat(&vd->source,
__MAX(VOUT_MAX_PICTURES,
......
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