direct3d11: avoid crashing later in the decoder
commit57ff42122f34fee45d78937467c0a5285cabb911
authorSteve Lhomme <robUx4@videolabs.io>
Thu, 20 Oct 2016 13:17:11 +0000 (20 15:17 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 16 Nov 2016 14:07:46 +0000 (16 15:07 +0100)
tree472aec0565590f387c2f4abf798dae5cfa42dbc5
parentbde3abf936df7211af0168447720246b0df998dc
direct3d11: avoid crashing later in the decoder

ID3D11VideoDevice::CreateVideoDecoderOutputView() crashes when the texture has
more than 30 slices. Luckily we never need more than that.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/video_output/win32/direct3d11.c