Skip to content

Commit 7d536d1

Browse files
committed
Core (LV::Video): Fix incorrect pointer increments in ARGB32 video byte swaps.
1 parent 9c40351 commit 7d536d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libvisual/libvisual/private/lv_video_convert.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,8 @@ namespace LV {
504504
src_pixel += 4;
505505
}
506506

507-
dst_pixel += dst.m_impl->pitch;
508-
src_pixel += src.m_impl->pitch;
507+
dst_pixel_row += dst.m_impl->pitch;
508+
src_pixel_row += src.m_impl->pitch;
509509
}
510510
}
511511

0 commit comments

Comments
 (0)