diff options
author | Ben Chang <benc@nvidia.com> | 2017-02-24 14:39:21 -0800 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2017-02-28 11:54:02 +0100 |
commit | d8f36a6aa33e9f904fa47caa0329ddaac391cd7d (patch) | |
tree | 426a36bdcbef8bd693c5141107c4393d076be9bb /libavcodec/hwaccel.h | |
parent | 698ac8f9cabd053f2c19346a77b92f8eae4218fc (diff) | |
download | ffmpeg-d8f36a6aa33e9f904fa47caa0329ddaac391cd7d.tar.gz |
nvenc: Fix the preset mapping list
The map is a sparse array and does not need a empty element to terminate
it.
The empty element is stored after the last one inserted in the list,
overwriting whichever element was next with zeros.
Bug-Id: 1029
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/hwaccel.h')
0 files changed, 0 insertions, 0 deletions