drivers/video: Fix thumbnail size bug
Fix copy size to set thumbnail component, when thumbnail format is used without clipping.
This commit is contained in:
parent
9c57850466
commit
c0ea6c5b49
@ -635,7 +635,7 @@ static void get_clipped_format(uint8_t nr_fmt,
|
||||
}
|
||||
else
|
||||
{
|
||||
memcpy(c_fmt, fmt, sizeof(video_format_t));
|
||||
memcpy(c_fmt, fmt, nr_fmt * sizeof(video_format_t));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user