Fixed camera control related issues and

This commit is contained in:
Ubuntu
2025-04-01 15:38:31 +00:00
parent 1a189f1f1c
commit 1009af4a32
3 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -623,7 +623,7 @@ static int convert_image_rga(image_buffer_t* src_img, image_buffer_t* dst_img, i
if (drect.width != dstWidth || drect.height != dstHeight) {
im_rect dst_whole_rect = {0, 0, dstWidth, dstHeight};
int imcolor;
char* p_imcolor = &imcolor;
int* p_imcolor = &imcolor;
p_imcolor[0] = color;
p_imcolor[1] = color;
p_imcolor[2] = color;