diff options
author | Steve Lhomme <robux4@videolabs.io> | 2016-10-05 12:52:00 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-10-05 18:37:27 +0200 |
commit | be630b1e08ebe8f766b1798accd6b8e5e096f5aa (patch) | |
tree | 045e5f03cb566d421f672455b7a82a3afc113522 /libavcodec/ttadata.c | |
parent | 715f139c9bd407ef7f4d1f564ad683140ec61e6d (diff) | |
download | ffmpeg-be630b1e08ebe8f766b1798accd6b8e5e096f5aa.tar.gz |
d3d11va: Use the proper decoding slice index
The decoding buffer index expected by D3D11VA is the one from the
ID3D11Texture2D not the one from the ID3D11VideoDecoderOutputView array
in AVD3D11VAContext.
Otherwise, when providing decoder slices that do not start from 0,
pictures appear in bogus order. For an invalid index crashes and
image corruption can occur.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/ttadata.c')
0 files changed, 0 insertions, 0 deletions