diff options
author | Niklas Haas <git@haasn.xyz> | 2017-09-11 01:02:56 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-09-11 01:04:08 +0200 |
commit | 0fe4a492c431610dc69b66eb4397707bda178b99 (patch) | |
tree | 60827f100702f005da061ad4c7e5d39651331a8c /video/out/opengl/utils.c | |
parent | 1da53248ab29d711df5602f3fdff90c45298ec77 (diff) | |
download | mpv-0fe4a492c431610dc69b66eb4397707bda178b99.tar.bz2 mpv-0fe4a492c431610dc69b66eb4397707bda178b99.tar.xz |
vo_opengl: fix out-of-bounds read in update_uniform
Since the addition of UBOs, the assumption that the uniform index
corresponds to the pass->params.inputs index is no longer true. Also,
there's no reason it would even need this - since the `input` is also
available directly in sc_uniform.
I have no idea how I've been using this code for as long as I have
without any segfaults until earlier today.
Diffstat (limited to 'video/out/opengl/utils.c')
0 files changed, 0 insertions, 0 deletions