summaryrefslogtreecommitdiffstats
path: root/video/out/dither.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2022-02-27 19:36:10 +0100
committerNiklas Haas <github-daiK1o@haasn.dev>2022-03-03 13:06:05 +0100
commit4387f3bcd0744a81011f65f207e76d919f0cda90 (patch)
treebd9e9389ca23bc3258c96498bc193b2d52854a2f /video/out/dither.h
parent7d08201a8f82c2dfdcbb794431d48867c46f03c2 (diff)
downloadmpv-4387f3bcd0744a81011f65f207e76d919f0cda90.tar.bz2
mpv-4387f3bcd0744a81011f65f207e76d919f0cda90.tar.xz
hwdec_vaapi_gl: properly zero initialize priv struct
Easiest way is by just using a designated struct initializer. If we don't, `p->images` ends up inheriting random data, which leaks into e.g. eglDestroyImageKHR. It's a small miracle this never blew up before. Or maybe it did. Who knows.
Diffstat (limited to 'video/out/dither.h')
0 files changed, 0 insertions, 0 deletions