Skip to content

Commit a09f4fe

Browse files
authored
Merge pull request #259 from Libvisual/argb32-video-flip-fix
Core (LV::Video): Fix incorrect pointer increments in ARGB32 video byte swaps.
2 parents a8c6edd + 7d536d1 commit a09f4fe

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)