No need to loop through the known surfaces, we'll use the requested surface
anyway.
The loop is only done for DXVA2.
---
libavcodec/dxva2.c | 15 +++
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/libavcodec/dxva2.c b/libavcodec/dxva2.c
index 2ac3f3e..c782f1c 100644
From: Steve Lhomme
No need to loop through the known surfaces, we'll use it anyway.
The loop is only done for DXVA2
---
libavcodec/dxva2.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/libavcodec/dxva2.c b/libavcodec/dxva2.c
index