Skip to content

Raw recording: force line size to be multiple of 16 pixels and 8 pixels

Alex requested to merge branch/raw-alignment into branch/unified

Discussed here: http://www.magiclantern.fm/forum/index.php?topic=3904.msg106087#msg106087

Should fix crash on 6D and other DIGIC V cameras when using the fastest EDMAC flags (0x40001000 = copy 16 bytes at a time).

Additionally, the fix adds a safeguard in edmac-memcpy.c to prevent such crashes in future user code that may not be aware about this constraint.

Merge request reports