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

omx: remove no-op

These values are already zeroed a few lines above.
parent f778bc2b
......@@ -296,11 +296,6 @@ static int Open(vlc_object_t *p_this)
goto error;
rsc->p_sys->sys = p_sys;
for (int i = 0; i < PICTURE_PLANE_MAX; i++) {
rsc->p[i].p_pixels = NULL;
rsc->p[i].i_pitch = 0;
rsc->p[i].i_lines = 0;
}
picture_t *picture = picture_NewFromResource(&fmt, rsc);
if (!picture)
goto error;
......
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