summaryrefslogtreecommitdiffstats
path: root/sub/osd.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-04-25 17:38:16 +0200
committerwm4 <wm4@nowhere>2020-04-25 17:38:54 +0200
commit640db1ed3fa0f15763439ae331d78d88cd932ee5 (patch)
treef461bfcb44f9d4ab241f150ecfe7bf5c2b124bd2 /sub/osd.h
parent4deae5e4b53220c5becd7312a4b0d7f5707d5757 (diff)
downloadmpv-640db1ed3fa0f15763439ae331d78d88cd932ee5.tar.bz2
mpv-640db1ed3fa0f15763439ae331d78d88cd932ee5.tar.xz
zimg: don't assume zimg reads are 64 byte aligned
Only _writes_ are aligned, so the assumption doesn't work for reads. But it's easy to fix by rounding down x0 to the next byte boundary. Writing pixels outside of the read area is allowed, and we don't go out of buffer bounds. Patch by anon32, permission to do anything with it.
Diffstat (limited to 'sub/osd.h')
0 files changed, 0 insertions, 0 deletions