Skip to content

Commit 2a1ae1a

Browse files
authored
[utils] Remove duplicate assignments
1 parent ff3ae5c commit 2a1ae1a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

utils/camera_source.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ CamSource *camera_source_init(const char *device, RK_U32 bufcnt, RK_U32 width, R
227227
buf.memory = V4L2_MEMORY_MMAP;
228228
buf.index = i;
229229
struct v4l2_plane planes[FMT_NUM_PLANES];
230-
buf.memory = V4L2_MEMORY_MMAP;
231230
if (V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE == type) {
232231
buf.m.planes = planes;
233232
buf.length = FMT_NUM_PLANES;

0 commit comments

Comments
 (0)