diff options
author | wm4 <wm4@nowhere> | 2019-11-02 00:48:04 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-02 00:48:04 +0100 |
commit | 4b3666329e90bec6292566d0d447cefe035c039a (patch) | |
tree | b9be2070e6d897ee1fbc314849e2df6cc6ed4b4e /common/encode_lavc.h | |
parent | 871900f5624db8b6b11deab9932d898f776b10ae (diff) | |
download | mpv-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 'common/encode_lavc.h')
0 files changed, 0 insertions, 0 deletions