dxva2: fix surface selection when compiled with both d3d11va and dxva2
authorHendrik Leppkes <h.leppkes@gmail.com>
Thu, 20 Oct 2016 17:31:34 +0000 (19:31 +0200)
committerHendrik Leppkes <h.leppkes@gmail.com>
Thu, 20 Oct 2016 17:31:34 +0000 (19:31 +0200)
commit8bd38ec5bde1d2691d6385975a2bad61538188bf
treed33651548121ddbaa81333a3ad760960daaa719f
parent5702416c57afb2bb062eb69d60fc42c31c91b674
dxva2: fix surface selection when compiled with both d3d11va and dxva2

Fixes a regression introduced in 9b462a0b9
libavcodec/dxva2.c