summaryrefslogtreecommitdiff
path: root/kms++util/src/conv-yuv-semiplanar.h
diff options
context:
space:
mode:
Diffstat (limited to 'kms++util/src/conv-yuv-semiplanar.h')
-rw-r--r--kms++util/src/conv-yuv-semiplanar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kms++util/src/conv-yuv-semiplanar.h b/kms++util/src/conv-yuv-semiplanar.h
index 3c4eec2..f9d771d 100644
--- a/kms++util/src/conv-yuv-semiplanar.h
+++ b/kms++util/src/conv-yuv-semiplanar.h
@@ -121,10 +121,10 @@ public:
if (y_offset == 0) {
// Fill line buffers
- for (size_t y_offset = 0; y_offset < v_sub; y_offset++) {
- auto line = md::submdspan(linebuf, y_offset, md::full_extent);
+ for (size_t y_off = 0; y_off < v_sub; y_off++) {
+ auto line = md::submdspan(linebuf, y_off, md::full_extent);
std::span<YUV16> span(line.data_handle(), line.size());
- generate_line(y_src + y_offset, span);
+ generate_line(y_src + y_off, span);
}
}