quartz/vmr9: Remove some dead code.

We already check filter->num_surfaces above.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2020-04-29 20:15:13 -05:00 committed by Alexandre Julliard
parent cf8a6eb276
commit 880c732216
1 changed files with 0 additions and 5 deletions

View File

@ -434,11 +434,6 @@ static HRESULT VMR9_maybe_init(struct quartz_vmr *filter, BOOL force, const AM_M
info.szNativeSize.cy = filter->bmiheader.biHeight;
filter->cur_surface = 0;
if (filter->num_surfaces)
{
ERR("num_surfaces or d3d9_surfaces not 0\n");
return E_FAIL;
}
if (!is_vmr9(filter))
{