d3d11va: only copy the usable area
commit4b937a24920a0ab7cab921e28366ea2e37c446b5
authorSteve Lhomme <robUx4@videolabs.io>
Tue, 2 Aug 2016 06:28:08 +0000 (2 08:28 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 2 Aug 2016 08:54:09 +0000 (2 10:54 +0200)
tree7cfcb7f1e12c2240aa968e495d1353620ae55fbe
parent0b02b9691ce79eed372805deb99a6f1221b829d2
d3d11va: only copy the usable area

The output texture may be smaller than the input. Not knowing if there's any
check in D3D11 it's better to be safe than sorry.
modules/codec/avcodec/d3d11va.c