]> git.nihav.org Git - nihav.git/commit
nihav_core/scale: copy only the common part of the buffer
authorKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 21 Jan 2026 20:05:13 +0000 (21:05 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 21 Jan 2026 20:05:13 +0000 (21:05 +0100)
commiteb9d6c2a0f627b521a1b80634433952095d729e9
treeb189c585baa356309ca996379e4d73c5b4ce67d0
parent1f787f2a6c5f037a69046291529b89971f9b5b04
nihav_core/scale: copy only the common part of the buffer

For padded pictures strides and offsets may be the same while
overall size differs, leading to panic during copy.
nihav-core/src/scale/mod.rs