summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-02 00:48:04 +0100
committerwm4 <wm4@nowhere>2019-11-02 00:48:04 +0100
commit4b3666329e90bec6292566d0d447cefe035c039a (patch)
treeb9be2070e6d897ee1fbc314849e2df6cc6ed4b4e /video/img_format.h
parent871900f5624db8b6b11deab9932d898f776b10ae (diff)
downloadmpv-4b3666329e90bec6292566d0d447cefe035c039a.tar.bz2
mpv-4b3666329e90bec6292566d0d447cefe035c039a.tar.xz
zimg: fix out of bounds memory accesses due to broken zmask
We've set all planes to the same zmask. But for subsampled chroma, the zmask obviously needs to be smaller. This could lead to out of bounds memory read and write accesses. Move the align repacker to a single function, since this is now more convenient.
Diffstat (limited to 'video/img_format.h')
0 files changed, 0 insertions, 0 deletions