Skip to content
Snippets Groups Projects
Commit d8f36a6a authored by Ben Chang's avatar Ben Chang Committed by Luca Barbato
Browse files

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: default avatarLuca Barbato <lu_zero@gentoo.org>
parent 698ac8f9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment