Commit 227f5875 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Rafaël Carré

vout: remove tautology

todisplay cannot be NULL there since its two possible values are
checked already.
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 18151198
......@@ -987,7 +987,7 @@ static int ThreadDisplayRenderPicture(vout_thread_t *vout, bool is_forced)
}
picture_t *direct;
if (!is_direct && todisplay) {
if (!is_direct) {
direct = picture_pool_Get(vout->p->display_pool);
if (direct) {
VideoFormatCopyCropAr(&direct->format, &todisplay->format);
......
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