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:
parent
cf8a6eb276
commit
880c732216
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue