diff options
author | wm4 <wm4@nowhere> | 2015-03-20 00:34:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-20 00:34:15 +0100 |
commit | 6b53897d75c3b57d018ca3faa34d732acae86b79 (patch) | |
tree | 5dfba4687161e58c3fcb42a8bf1edc1b4ec0d2fa /.travis.yml | |
parent | 5f2a8474aee2a0353a07a6a74a0312f5e5f5ef23 (diff) | |
download | mpv-6b53897d75c3b57d018ca3faa34d732acae86b79.tar.bz2 mpv-6b53897d75c3b57d018ca3faa34d732acae86b79.tar.xz |
mp_image: do not assume trailing stride padding exists
Normally, the size of an mage plane is assumed to be stride*height. But
in theory, if stride is larger than width*bpp, the last line might not
be padded, simply because it's not necessary. FFmpeg's or mpv's image
allocators always guarantee that this padding exists (it wastes some
insignificant memory for avoiding such subtle issues), but some other
libraries might not.
I suspect one such case might be Xv via vo_xv (see #1698), although my X
server appears to provide full padding. In any case, it can't harm.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions